wcs/tests/test_ctl.py

7 lines
193 B
Python

import wcs.qommon.ctl
def test_loading():
ctl = wcs.qommon.ctl.Ctl(cmd_prefixes=['wcs.ctl'])
ctl.load_all_commands(ignore_errors=False)
assert 'start' in ctl.get_commands().keys()