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