Fix tests as well
This commit is contained in:
parent
39a2038d95
commit
8c71aed2db
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
@ -1,6 +1,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
import inspector_compound
|
|
||||||
import inspector_aave
|
from mev_inspect import inspector_compound
|
||||||
|
from mev_inspect import inspector_aave
|
||||||
|
|
||||||
class TestLiquidations (unittest.TestCase):
|
class TestLiquidations (unittest.TestCase):
|
||||||
def test_compound_liquidation(self):
|
def test_compound_liquidation(self):
|
||||||
@ -16,4 +17,4 @@ class TestLiquidations (unittest.TestCase):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
import tokenflow
|
|
||||||
|
from mev_inspect import tokenflow
|
||||||
|
|
||||||
|
|
||||||
class TestTokenFlow (unittest.TestCase):
|
class TestTokenFlow (unittest.TestCase):
|
||||||
def test_simple_arb(self):
|
def test_simple_arb(self):
|
||||||
@ -24,4 +26,4 @@ class TestTokenFlow (unittest.TestCase):
|
|||||||
self.assertEqual(res['dollar_flows'], [0,0])
|
self.assertEqual(res['dollar_flows'], [0,0])
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user