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.
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 mockrequest
object for the function call. @glyph would prefer an actual HTTP request be made so that the existingRequestTraversalAgent
can be used instead.This shouldn't be hard to implement so marking as something that a new contributor can look at doing.