Yeah, catch, print what it actually creates, and reraise. Helps when you
add a new test, and doesn't change the failurehood of the tests
On Jan 7, 2014 9:04 AM, "Cory Zue" <notifications@github.com> wrote:

> In couchforms/tests/test_post.py:
>
> > @@ -24,6 +24,10 @@ def _test(self, name, any_id_ok=False):
> >              if any_id_ok:
> >                  result['_id'] = xform_json['_id']
> >              self.assertDictEqual(xform_json, result)
> > +        except Exception:
> > +            # to help when bootstrapping a new test case
> > +            print json.dumps(xform_json)
>
> this is left in here by design?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dimagi/couchforms/pull/83/files#r8693457>
> .
>