Skip to content

Commit

Permalink
Remove unnecessary else after break to (satisfy pylint)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarstenGrohmann committed Jan 23, 2024
1 parent f275b73 commit c535cc7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,8 @@ def test_supervisor(host, supervisorctl_path, supervisorctl_conf):
)
if service.status == "RUNNING":
break
else:
assert service.status == "STARTING"
time.sleep(0.5)
assert service.status == "STARTING"
time.sleep(0.5)
else:
raise RuntimeError("No running tail in supervisor")

Expand Down

0 comments on commit c535cc7

Please sign in to comment.