def test_start_runner_launches_runner(self): start_runner() self.launch_runner.assert_called_once_with( project_path=self.args.project_path, command_to_run=self.args.command_to_run, run_once=self.args.run_once, directory=self.args.pre_existing_vagrant_path, php_version=self.args.php, ssh_user=self.args.user, xdebug_enabled=self.args.enable_xdebug )
#!/usr/bin/env python from hypernode_vagrant_runner.commands import start_runner if __name__ == '__main__': start_runner() else: raise RuntimeError("This script is an entry point and can not be imported")
def test_start_runner_parses_start_runner_arguments(self): start_runner() self.parse_start_runner_arguments.assert_called_once_with()