django-test-utils icon indicating copy to clipboard operation
django-test-utils copied to clipboard

test maker creates dicts without comma separators

Open lawgon opened this issue 13 years ago • 0 comments

Here is a sample:

def test_incidentrecordincident5_130379586082(self): r = c.post('/incident/recordincident/5/', {'customer': '''is_product': 'on''escalate_response': '24''Register': 'Record incident''source': '1''businessunit': '1''problemdescription': '2''product': '1''escalate_resolved': '36''respcentre': '1''mode': '1''csrfmiddlewaretoken': '7ff2f1bb73f90c033cc1fbf32fde0bb8''asset': ''})

I have to manually add the commas in order not to get a syntax error when I copy to my test file. Is this a bug?

lawgon avatar Apr 26 '11 11:04 lawgon