Files
swift/test
Alistair Coles d830703a32 Setup proxy object GET and HEAD tests correctly
Some unit tests for the proxy object GET and HEAD path were setup with
insufficient mock responses.  The mock connection would raise
StopIteration exceptions once the mock responses were exhausted, which
the object controller would handle as if they were error responses,
potentially distorting the test scenario.

This patch makes the set_http_connect context manager check for
unexpected requests and raise an AssertionError if any are found.

Change-Id: I47774396d9d0a78ebceea6c628c9412b3ad67a11
2024-08-22 12:11:47 +01:00
..
2024-03-14 20:45:47 -07:00
2024-03-12 13:48:02 +00:00
2023-01-19 12:56:08 -08:00
2020-05-15 22:38:04 -07:00