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