Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit d86af3d

Browse files
committed
Rename variable to not override hash built in
1 parent ecf33a1 commit d86af3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/tests/lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def load_env(filename: str):
8282
env_name = os.path.basename(filename).split(".")[0]
8383
return requests.get(f"http://ca-bot:8080/load_env?filename={env_name}").content == b"OK"
8484

85-
def assert_contains_hash(hash: bytes, output: bytes):
86-
assert hash in output
85+
def assert_contains_hash(expected_hash: bytes, output: bytes):
86+
assert expected_hash in output
8787

8888
@contextmanager
8989
def simulate_two_teams(tc: TestConfig):

0 commit comments

Comments
 (0)