コード例 #1
0
    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)
コード例 #2
0
    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
        )
コード例 #3
0
    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,
            skip_try_sudo=self.args.skip_try_sudo,
            xenial=self.args.xenial,
            no_provision=self.args.no_provision)
コード例 #4
0
#!/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")
コード例 #5
0
    def test_start_runner_parses_start_runner_arguments(self):
        start_runner()

        self.parse_start_runner_arguments.assert_called_once_with()
コード例 #6
0
    def test_start_runner_parses_start_runner_arguments(self):
        start_runner()

        self.parse_start_runner_arguments.assert_called_once_with()