diff options
author | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-11-15 01:56:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 01:56:31 +0800 |
commit | b961cb195299ce6a091ae692ec815b52f6b89300 (patch) | |
tree | a6b97b981b04b22a1296fa55e8b7f77e59eb5ba0 /python-packages/order_utils/test/test_generate_order_hash_hex.py | |
parent | e1d64def2017ced0aba599b989ad42a51fdd46fe (diff) | |
download | dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.gz dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.bz2 dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.lz dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.xz dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.tar.zst dexon-0x-contracts-b961cb195299ce6a091ae692ec815b52f6b89300.zip |
fix(order_utils.py): validate order w/json schema (#1260)
Diffstat (limited to 'python-packages/order_utils/test/test_generate_order_hash_hex.py')
-rw-r--r-- | python-packages/order_utils/test/test_generate_order_hash_hex.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/python-packages/order_utils/test/test_generate_order_hash_hex.py b/python-packages/order_utils/test/test_generate_order_hash_hex.py index af78d208c..6869a40ed 100644 --- a/python-packages/order_utils/test/test_generate_order_hash_hex.py +++ b/python-packages/order_utils/test/test_generate_order_hash_hex.py @@ -1,10 +1,6 @@ """Test zero_ex.order_utils.get_order_hash_hex().""" -from zero_ex.order_utils import ( - generate_order_hash_hex, - make_empty_order, - _Constants, -) +from zero_ex.order_utils import generate_order_hash_hex, make_empty_order def test_get_order_hash_hex__empty_order(): @@ -12,7 +8,5 @@ def test_get_order_hash_hex__empty_order(): expected_hash_hex = ( "faa49b35faeb9197e9c3ba7a52075e6dad19739549f153b77dfcf59408a4b422" ) - actual_hash_hex = generate_order_hash_hex( - make_empty_order(), _Constants.null_address - ) + actual_hash_hex = generate_order_hash_hex(make_empty_order()) assert actual_hash_hex == expected_hash_hex |