6 status_code_bad_internal = 0x80020000
7 status_code_unknown =
"Definitely Not A Status Code" 10 self.
direct = uaerrors.BadInternalError()
15 self.assertIs(type(self.
direct), uaerrors.BadInternalError)
16 self.assertIs(type(self.
indirect), uaerrors.BadInternalError)
17 self.assertIs(type(self.
unknown), UaStatusCodeError)
25 self.assertIn(
"BadInternal", str(self.
direct))
26 self.assertIn(
"BadInternal", str(self.
indirect))
string status_code_unknown
int status_code_bad_internal
def test_subclass_selection(self)
def test_string_repr(self)