Add assertion and move constants up

This commit is contained in:
Gui Heise
2021-11-23 11:28:15 -05:00
parent d7872db45c
commit c334441e95
2 changed files with 8 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ def test_fillLimitOrder_swap():
result = get_swaps(classified_traces)
assert swap in result
assert result.count(swap) == 1
def test__fillLimitOrder_swap():
@@ -65,6 +66,7 @@ def test__fillLimitOrder_swap():
result = get_swaps(classified_traces)
assert swap in result
assert result.count(swap) == 1
def test_RfqLimitOrder_swap():
@@ -96,6 +98,7 @@ def test_RfqLimitOrder_swap():
result = get_swaps(classified_traces)
assert swap in result
assert result.count(swap) == 1
def test__RfqLimitOrder_swap():
@@ -127,3 +130,4 @@ def test__RfqLimitOrder_swap():
result = get_swaps(classified_traces)
assert swap in result
assert result.count(swap) == 1