From b63ff66bad66901fd2941a1099c5ca895c0f82eb Mon Sep 17 00:00:00 2001 From: naisanzaa Date: Wed, 13 Oct 2021 21:13:52 -0400 Subject: [PATCH] crypto: update tests --- automon/tests/integrations/test_crypto.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automon/tests/integrations/test_crypto.py b/automon/tests/integrations/test_crypto.py index 4f1f3a28..895771c8 100644 --- a/automon/tests/integrations/test_crypto.py +++ b/automon/tests/integrations/test_crypto.py @@ -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')) @@ -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):