Currently the integration tests only check:
With the HTTMock, we can return the original request and inspect the URI to ensure the payload is the same as we expect.
Also use Freezegun to make the dtm= field predictable in the tests.
How do we make the txn_id field predictable for the tests - http://stackoverflow.com/questions/22457371/python-injecting-random-number-into-tests
Currently the integration tests only check:
With the HTTMock, we can return the original request and inspect the URI to ensure the payload is the same as we expect.
Also use Freezegun to make the
dtm=field predictable in the tests.How do we make the
txn_idfield predictable for the tests - http://stackoverflow.com/questions/22457371/python-injecting-random-number-into-tests