def test_post(self, private_client, private_model):
    json = private_model.conversions.post('USD', 'USDC', 10.0)
    response = private_client.conversions.post(json)
    assert isinstance(response, dict)
    assert ('id' in response)
    assert ('amount' in response)
    assert (response['from'] == 'USD')
    assert (response['to'] == 'USDC')
def test_post(self, private_client, private_model):
    json = private_model.conversions.post('USD', 'USDC', 10.0)
    response = private_client.conversions.post(json)
    assert isinstance(response, dict)
    assert ('id' in response)
    assert ('amount' in response)
    assert (response['from'] == 'USD')
    assert (response['to'] == 'USDC')