We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e9414b commit 5b21583Copy full SHA for 5b21583
1 file changed
src/shipchain_common/test_utils/httpretty_asserter.py
@@ -47,6 +47,9 @@ def register_uri(self, # noqa
47
def latest_requests(self):
48
return self.mock.calls
49
50
+ def last_request(self):
51
+ return self.mock.calls[-1] if self.mock.calls else None
52
+
53
def reset(self):
54
self.mock._calls.reset() # pylint:disable=protected-access
55
0 commit comments