Skip to content

Commit

Permalink
✅ Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jul 7, 2024
1 parent 694bdde commit aa28581
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_unit_format_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ def result_order():
return {
"action": "SHORT",
"instrument": "WETH",
"stop_loss": 1000,
"take_profit": 1000,
"quantity": 10,
"order_type": None,
"leverage_type": None,
"comment": None,
"timestamp": datetime.now(),
}

Expand All @@ -63,5 +57,4 @@ async def test_standard_get_order(fmo, order, result_order):
print(result)
assert result["action"] == result_order["action"]
assert result["instrument"] == result_order["instrument"]
assert int(result["quantity"]) == result_order["quantity"]
assert type(result["timestamp"] is datetime)

0 comments on commit aa28581

Please sign in to comment.