Skip to content

Commit

Permalink
tests: comparison to "false" in python evaluates to True
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Nov 13, 2024
1 parent a686f00 commit 47c4fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/anacondalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def handleReboot(self):
p.reboot()

# The installed machine does not need to skip the nologin check
os.environ["TEST_ALLOW_NOLOGIN"] = "false"
del os.environ["TEST_ALLOW_NOLOGIN"]
self.addCleanup(lambda: os.environ["TEST_ALLOW_NOLOGIN"] == "true")
self.machine.wait_reboot()

Expand Down

0 comments on commit 47c4fba

Please sign in to comment.