Example #1
0
def _do_execute(self, args: typing.List[str], test_name: str,
                **kwargs) -> None:
    check_pycolor_execute(self,
                          args,
                          MOCKED_DATA,
                          test_name,
                          config_file=get_sample_config_filename('ifconfig'),
                          **kwargs)
Example #2
0
def _do_execute(self, args: typing.List[str], test_name: str,
                **kwargs) -> None:
    check_pycolor_execute(self,
                          args,
                          MOCKED_DATA,
                          test_name,
                          config_file=get_sample_config_filename(
                              kwargs.get('config', 'ping-unix')),
                          profile_name='ping',
                          **kwargs)
Example #3
0
 def test_activation_expression(self):
     check_pycolor_execute(self, ['df', '-h'], MOCKED_DATA,
                           'activation_expression')
Example #4
0
 def test_git_status(self):
     check_pycolor_execute(self, ['git', 'status'], MOCKED_DATA,
                           'git_status')
Example #5
0
 def test_activation_line_list(self):
     check_pycolor_execute(self, ['df', '-h'], MOCKED_DATA,
                           'activation_line_list')