MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / setUp

Method setUp

tests/tests_uaerrors.py:9–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7 status_code_unknown = "Definitely Not A Status Code"
8
9 def setUp(self):
10 self.direct = uaerrors.BadInternalError()
11 self.indirect = UaStatusCodeError(self.status_code_bad_internal)
12 self.unknown = UaStatusCodeError(self.status_code_unknown)
13
14 def test_subclass_selection(self):
15 self.assertIs(type(self.direct), uaerrors.BadInternalError)

Callers

nothing calls this directly

Calls 1

UaStatusCodeErrorClass · 0.90

Tested by

no test coverage detected