Add helper function to mock modules #53

Closed
eproxus opened this Issue Jan 12, 2012 · 0 comments

1 participant

@eproxus
Owner

Implement a helper function which does the call to meck itself. Make all generated mock functions use that helper function.

This will have several benefits:

  • Possible to implement clauses from the original module in the mock module (they all will use the helper function).
  • Insert line number and file information from original module into the mock (for exception injection)
@eproxus eproxus closed this Oct 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment