Skip to content

Commit

Permalink
Remove unnecessary f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored Apr 24, 2020
1 parent 282ddb2 commit 5d50c3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/properties_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_server_default_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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

0 comments on commit 5d50c3c

Please sign in to comment.