Libraries refactor and add some sinks #4
|
@ -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