Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Issue #237 WIP 3
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed May 2, 2023
1 parent 46dffb7 commit 2d474f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/rest/auth/test_oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,17 +686,17 @@ def test_oidc_device_flow_auto_detect(
assert display.lines[0] == (1000, expected_instruction, "\n")

for expected_line in [
(1000, "[#####################################] Authorization pending ", "\r"),
(1015, "[####################################-] Polling ", "\r"),
(1015, "[####################################-] Authorization pending ", "\r"),
(1024, "[###################################--] Authorization pending ", "\r"),
(1027, "[##################################---] Authorization pending ", "\r"),
(1000, "[#####################################] Authorization pending ", "\r"),
(1015, "[###################################--] Polling ", "\r"),
(1015, "[###################################--] Authorization pending ", "\r"),
(1024, "[##################################---] Authorization pending ", "\r"),
(1027, "[##################################---] Authorization pending ", "\r"),
]:
assert expected_line in display.lines

assert display.lines[-3:] == [
(1033, "[#################################----] Polling ", "\r"),
(1033, "[#################################----] Authorized successfully ", "\r"),
(1033, "[#################################----] Polling ", "\r"),
(1033, "[#################################----] Authorized successfully ", "\r"),
(1033, "", "\n"),
]

Expand Down

0 comments on commit 2d474f0

Please sign in to comment.