1. Ian Bicking
  2. WebTest
  3. Issues
Issue #38 resolved

TestApp *_json methods don't work with falsey values

Patrick Strawderman
created an issue

The *_json methods of TestApp don't allow marshaling of falsey values to JSON (e.g., any empty dict or string) because of the following:

{{{

!python

if params: params = dumps(params)

}}}