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

Method test_object_creation

bindings/python/test_rig.py:360–366  ·  view source on GitHub ↗

Create all objects available

(self, model)

Source from the content-addressed store, hash-verified

358
359 @pytest.mark.skipif('config.getoption("model") != Hamlib.RIG_MODEL_DUMMY')
360 def test_object_creation(self, model):
361 """Create all objects available"""
362 rig = Hamlib.Rig(model)
363 assert rig is not None
364
365 assert isinstance(rig.caps, Hamlib.rig_caps)
366 assert isinstance(rig.state, Hamlib.rig_state)

Callers

nothing calls this directly

Calls 1

RigMethod · 0.80

Tested by

no test coverage detected