On Tue, 2019-04-30 at 16:03 +1000, Daniel Axtens wrote: > From: Stephen Finucane <[email protected]> > > This was raising an attribute error when switching tests to use JSON > bodies instead of form-data. > > AttributeError: 'dict' object has no attribute '_mutable' > > The easy fix is to check if it's a dictionary and avoid the mutability > check if so. > > Signed-off-by: Stephen Finucane <[email protected]> > (cherry picked from commit dc48fbce99efe7d13987a3f510f7dee389636eba > This is needed for JSON bodies sent by regular users, not just the > tests.) > Signed-off-by: Daniel Axtens <[email protected]>
Applied. _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
