diff options
author | Dimitry <dimitry@ethereum.org> | 2018-10-03 01:51:32 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-10-03 06:10:43 +0800 |
commit | 580a0e4a2c92ca62c9c9f2613a67f330d3efa209 (patch) | |
tree | 40097ee09b2970c29c97436185caa7db9bd54476 /test.py | |
parent | f4e6c9dafc25bbb78a7ee18d5fdeaecc48a01b7a (diff) | |
download | dexon-tests-580a0e4a2c92ca62c9c9f2613a67f330d3efa209.tar.gz dexon-tests-580a0e4a2c92ca62c9c9f2613a67f330d3efa209.tar.zst dexon-tests-580a0e4a2c92ca62c9c9f2613a67f330d3efa209.zip |
fix yml tests
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ def hashFile(fname): with open(fname ,"rb") as f: k = sha3.keccak_256() if fname.endswith(".json"): - s = json.dumps(json.load(f), separators=(',', ':')) + s = json.dumps(json.load(f), sort_keys=True, separators=(',', ':')) elif fname.endswith(".yml"): s = json.dumps(yaml.load(f), sort_keys=True, separators=(',', ':')) else: |