Remove some debugging code from transactions tests
This commit is contained in:
parent
c17e311f7e
commit
6f9cf5cd01
|
@ -101,7 +101,6 @@ class TestTransactions(TestCase):
|
|||
return test_data
|
||||
|
||||
def mock_hgetall(self, string):
|
||||
print("MOCK HGERALL CALLED WITH", string)
|
||||
ref = string.split(".")[1]
|
||||
for num, trade in self.trades.items():
|
||||
if trade["reference"] == ref:
|
||||
|
@ -114,7 +113,6 @@ class TestTransactions(TestCase):
|
|||
return [v["id"] for k, v in self.trades.items() if k in self.return_trades]
|
||||
|
||||
def mock_get(self, string):
|
||||
print("MOCK GET", string)
|
||||
for num, trade in self.trades.items():
|
||||
if trade["id"] == string:
|
||||
return trade["reference"]
|
||||
|
|
Loading…
Reference in New Issue