@mock.patch('tethys_apps.cli.cli_colors.pretty_output')
@mock.patch('tethys_apps.cli.install_commands.os')
def test_run_services_path_none(self, mock_os, mock_pretty_output):
    args = mock.MagicMock(services_file=None)
    mock_os.path.exists.return_value = False
    install_commands.run_services('foo', args)
    po_call_args = mock_pretty_output().__enter__().write.call_args_list
    self.assertEqual('No Services file found.', po_call_args[0][0][0])
@mock.patch('tethys_apps.cli.cli_colors.pretty_output')
@mock.patch('tethys_apps.cli.install_commands.os')
def test_run_services_path_none(self, mock_os, mock_pretty_output):
    args = mock.MagicMock(services_file=None)
    mock_os.path.exists.return_value = False
    install_commands.run_services('foo', args)
    po_call_args = mock_pretty_output().__enter__().write.call_args_list
    self.assertEqual('No Services file found.', po_call_args[0][0][0])