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