diff --git a/examples/properties_dictionary.py b/examples/properties_dictionary.py index 1dccf688..55849148 100644 --- a/examples/properties_dictionary.py +++ b/examples/properties_dictionary.py @@ -77,7 +77,7 @@ def put(self, new_property_value): app, labthing = create_app( __name__, prefix="/api", - title=f"My Lab Device API", + title="My Lab Device API", description="Test LabThing-based API", version="0.1.0", ) diff --git a/examples/simple_extensions.py b/examples/simple_extensions.py index 41821484..f9a5f31c 100644 --- a/examples/simple_extensions.py +++ b/examples/simple_extensions.py @@ -128,7 +128,7 @@ def get(self): app, labthing = create_app( __name__, prefix="/api", - title=f"My Lab Device API", + title="My Lab Device API", description="Test LabThing-based API", version="0.1.0", ) diff --git a/tests/test_server_default_views.py b/tests/test_server_default_views.py index c609bda3..84f356d4 100644 --- a/tests/test_server_default_views.py +++ b/tests/test_server_default_views.py @@ -44,7 +44,7 @@ def task_func(): def test_task_representation_missing(thing_client): with thing_client as c: - assert c.get(f"/tasks/missing_id").status_code == 404 + assert c.get("/tasks/missing_id").status_code == 404 def test_task_kill(thing_client): @@ -68,4 +68,4 @@ def task_func(): def test_task_kill_missing(thing_client): with thing_client as c: - assert c.delete(f"/tasks/missing_id").status_code == 404 + assert c.delete("/tasks/missing_id").status_code == 404