Remove the leading underscore from ThingServer._api_prefix.

This commit is contained in:
Richard Bowman 2026-05-12 20:44:44 +01:00
parent eff66eb667
commit 7163823bf7
4 changed files with 5 additions and 5 deletions

View file

@ -126,7 +126,7 @@ def test_add_static_files(mock_static_dir, mocker):
)
mock_server = mocker.Mock()
mock_server.app = mock_app
mock_server._api_prefix = "/api/v3"
mock_server.api_prefix = "/api/v3"
# Get the wrapper function from the mocked decorator
wrapper = mock_app.get.return_value
with tempfile.TemporaryDirectory() as datadir: