Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Dec 16, 2024
1 parent 1ce2565 commit 79055bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/example-pytest-selfie/tests/facets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def test_homepage_v2(client):
╔═ [status] ═╗
200 OK""")


def test_login_flow(client):
web_selfie(client.get("/")).to_match_disk("1. not logged in").facet("md").to_be(
"Please login"
Expand Down
4 changes: 3 additions & 1 deletion python/example-pytest-selfie/tests/selfie_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def _web_camera(response: TestResponse) -> Snapshot:
)

if response.headers.get("Set-Cookie"):
snapshot = snapshot.plus_facet("cookies", response.headers.get("Set-Cookie", ""))
snapshot = snapshot.plus_facet(
"cookies", response.headers.get("Set-Cookie", "")
)
return snapshot


Expand Down

0 comments on commit 79055bc

Please sign in to comment.