Skip to content

Commit f1d0da2

Browse files
committed
style: linter
1 parent 061e128 commit f1d0da2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## 0.1.1 (2022-03-18)
44

55
* Remove trailing spaces from default swagger route and static
6-
* Ensure swagger endpoints serve with and without trailing slash
7-
* Additional tests
6+
* Ensure swagger endpoints serve with and without trailing slash
7+
* Additional tests
88

99
## 0.1.0 (2022-03-16)
1010

tests/test_flask.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ def test_url_prefix(self, app, spec):
130130
client = app.test_client()
131131

132132
assert url_for("swagger.ui") == "/test-app/v1"
133-
assert url_for("swagger.static", filename="VERSION") == \
134-
"/test-app/v1/static/VERSION"
133+
assert (
134+
url_for("swagger.static", filename="VERSION")
135+
== "/test-app/v1/static/VERSION"
136+
)
135137
assert client.get("/test-app/v1").status_code == 200
136138
assert client.get("/test-app/v1/").status_code == 200

0 commit comments

Comments
 (0)