rackerlabs / mimic

An API mock service
Other
168 stars 57 forks source link

Update decorator tests' to actual HTTP requests with RequestTraversalAgent instead of the RequestMock #672

Open BenjamenMeyer opened 8 years ago

BenjamenMeyer commented 8 years ago

The decorator tests in mimic/test/test_decorators.py from https://github.com/rackerlabs/mimic/pull/665/commits/872dc382de8fcb9ae53ccfd3d5b1a70171e9f516 (as part of PR #665) is extremely simple right now but I had to create a mock request object for the function call. @glyph would prefer an actual HTTP request be made so that the existing RequestTraversalAgent can be used instead.

This shouldn't be hard to implement so marking as something that a new contributor can look at doing.