Example #1
0
 def test_error_string_unrecognized(self):
     self.assertEqual("unrecognized error", err.error_string(1000))
Example #2
0
 def test_error_string_failure(self):
     self.assertEqual("generic failure", err.error_string(-1))
Example #3
0
 def test_error_string_success(self):
     self.assertEqual("success", err.error_string(0))
Example #4
0
 def test_error_string_unrecognized(self):
     self.assertEqual("unrecognized error", err.error_string(1000))
Example #5
0
 def test_error_string_failure(self):
     self.assertEqual("generic failure", err.error_string(-1))
Example #6
0
 def test_error_string_success(self):
     self.assertEqual("success", err.error_string(0))