Hi Christian, On Wed, May 15, 2013 at 11:44 PM, Christian Johansen <chrisj...@gmail.com> wrote: > Well, the old test simply stubs the method being used. In your updated > example that's not going to turn out pretty. I suggest giving FakeWeb a > look: https://github.com/chrisk/fakeweb > > Let me know if you need some help making it work.
Thanks for the offer! I looked at FakeWeb and I see it doesn't currently parse request bodies. Previously we "parsed" them by stubbing post_form, so this would be a slight decrease in coverage: we would only test that a POST has been made to the hook.url; we wouldn't have insight into whether the payload is correct or not. Is that acceptable? - Ken -- -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitorious+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.