

def test_object_identifier_copy(self):
    if _debug:
        TestObjectIdentifier._debug('test_object_identifier_copy')
    obj1 = ObjectIdentifier(('analogInput', 1))
    obj2 = ObjectIdentifier(obj1)
    assert (obj2.value == ('analogInput', 1))

dataset/ETHPy150Open JoelBender/bacpypes/tests/test_primitive_data/test_object_identifier.py TestObjectIdentifier.test_object_identifier_copy/original