On Tue, 2019-04-30 at 16:03 +1000, Daniel Axtens wrote: > From: Stephen Finucane <step...@that.guru> > > 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 <step...@that.guru> > (cherry picked from commit dc48fbce99efe7d13987a3f510f7dee389636eba > This is needed for JSON bodies sent by regular users, not just the > tests.) > Signed-off-by: Daniel Axtens <d...@axtens.net>
Applied. _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork