12 lines
284 B
Python

import pytest
def test_rudimentary_request(client):
response = client.post("/orders", json={
"type": "limit",
"instrument": "US0378331005",
"limit_price": 100.00,
"quantity": 10,
"side": "buy"
})
assert response.status_code == 201