Skip to content

Commit

Permalink
trying to solve the issue with the hash of the env on linux which doe…
Browse files Browse the repository at this point in the history
…s not behave the same as linux
  • Loading branch information
BDonnot committed Jul 7, 2021
1 parent 2761845 commit a71292d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grid2op/tests/test_MakeEnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,8 @@ def test_hash(self):
env = make("l2rpn_case14_sandbox", test=True)
path_ = env.get_path_env()
hash_this_env = _hash_env(path_)
assert hash_this_env.hexdigest() == "45a2be9f1d2b206bba48d1fee5ab2343d22e818a4a66d785b90832d10b3b5ca1856dc99338fc543002cf3bfc701779ec85b9e864dca77f74e82f40d157442cd1"
assert hash_this_env.hexdigest() == "45a2be9f1d2b206bba48d1fee5ab2343d22e818a4a66d785b90832d10b3b5ca1856dc99338fc543002cf3bfc701779ec85b9e864dca77f74e82f40d157442cd1", \
f"wrong hash digest. It's \n\t{hash_this_env.hexdigest()}"


if __name__ == "__main__":
Expand Down

0 comments on commit a71292d

Please sign in to comment.