def test_changeset_bash(self, kwargs): from shellexeclist.__main__ import run _res = run(self._create_args(**kwargs)) assert _res == [ 'bash', 'dirname', 'install', 'ln', 'log_daemon_msg', 'log_end_msg', 'sleep', 'start-stop-daemon' ]
def test_changeset_auto(self, kwargs): from shellexeclist.__main__ import run _res = run(self._create_args(**kwargs)) import logging logging.warn(_res) assert _res == [ 'sh', ]
def test_changeset_auto(self, kwargs): from shellexeclist.__main__ import run _res = run(self._create_args(**kwargs)) import logging logging.warn(_res) assert _res == [ '[', 'dirname', 'echo', 'install', 'ln', 'log_daemon_msg', 'log_end_msg', 'sh', 'sleep', 'start-stop-daemon', 'test' ]
def test_changeset_bash(self, kwargs): from shellexeclist.__main__ import run _res = run(self._create_args(**kwargs)) assert _res == ['bash']