~ubuntuone-control-tower/ubuntuone-storage-protocol/stable-1-6

« back to all changes in this revision

Viewing changes to tests/test_errors.py

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2010-11-16 15:10:48 UTC
  • mfrom: (121.1.4 use-packages)
  • Revision ID: tarmac-20101116151048-b0e20j7lorb4yhe1
Switch to using packaged mocker and ubuntuone-dev-tools
Use pyflakes with u1lint and also run pep8
Fix a lot of pylint/pyflakes/pep8 errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                            errors.StorageRequestError),
50
50
                            "%r must inherit from StorageRequestError" %
51
51
                             proto_error)
52
 
            self.assertEqual(proto_error, errors.error_to_exception(code_error))
 
52
            self.assertEqual(proto_error,
 
53
                             errors.error_to_exception(code_error))
53
54
 
54
55
    def test_quota_exceed_error(self):
55
56
        """QuotaExceeded error must have quota info."""