~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/ec2/tests/test_client.py

  • Committer: Thomas Hervé
  • Date: 2010-03-29 17:16:46 UTC
  • Revision ID: thomas@canonical.com-20100329171646-y69fncazdjnw6dcr
Fix test suite against latest release of Twisted, which requires the code argument
to twisted.web.error.Error to be present [trivial]

Show diffs side-by-side

added added

removed removed

Lines of Context:
531
531
                    })
532
532
 
533
533
            def submit(self):
534
 
                error = EC2Error(payload.sample_delete_security_group_failure)
 
534
                error = EC2Error(
 
535
                    payload.sample_delete_security_group_failure, 400)
535
536
                return fail(error)
536
537
 
537
538
        def check_error(error):