Skip to content

Commit

Permalink
crypto: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Mar 15, 2022
1 parent e696f48 commit b63ff66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automon/tests/integrations/test_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CryptoAccountingTest(unittest.TestCase):
c = CryptoAccounting()

def test_CryptoAccounting(self):
self.assertTrue(CryptoAccounting())
self.assertTrue(self.c)

def test_auto_detect(self):
self.assertTrue(self.c.auto_detect('robinhood.csv'))
Expand All @@ -29,10 +29,10 @@ def test_walk(self):
self.assertTrue(CryptoAccounting('.'))

def test_robinhood(self):
self.assertTrue(CryptoAccounting().robinhood('robinhood.csv'))
self.assertTrue(self.c.robinhood('robinhood.csv'))

def test_other(self):
self.assertTrue(CryptoAccounting().other('empty.csv'))
self.assertTrue(self.c.other('empty.csv'))


class RobinhoodTest(unittest.TestCase):
Expand Down

0 comments on commit b63ff66

Please sign in to comment.