MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / test_object_creation

Method test_object_creation

bindings/python/test_rot.py:121–127  ·  view source on GitHub ↗

Create all objects available

(self, model)

Source from the content-addressed store, hash-verified

119
120 @pytest.mark.skipif('config.getoption("model") != Hamlib.ROT_MODEL_DUMMY')
121 def test_object_creation(self, model):
122 """Create all objects available"""
123 rot = Hamlib.Rig(model)
124 assert rot is not None
125
126 assert isinstance(rot.caps, Hamlib.rig_caps)
127 assert isinstance(rot.state, Hamlib.rig_state)

Callers

nothing calls this directly

Calls 1

RigMethod · 0.80

Tested by

no test coverage detected