Пример #1
0
 def test_launch_new_instance(self):
     with patch.object(sys, 'argv', [self.Utility.__name__.lower()] + self.default_args + ['examples/dummy.csv']):
         launch_new_instance()
Пример #2
0
 def test_launch_new_instance(self):
     with patch.object(sys, 'argv', ['csvgrep', '-c', '1', '-m', '1', 'examples/dummy.csv']):
         launch_new_instance()
Пример #3
0
 def test_launch_new_instance(self):
     with patch.object(sys, 'argv', [self.Utility.__name__.lower()] + self.default_args + ['examples/dummy.csv']):
         launch_new_instance()
Пример #4
0
 def test_launch_new_instance(self):
     with patch.object(
             sys, 'argv',
         ['csvgrep', '-c', '1', '-m', '1', 'examples/dummy.csv']):
         launch_new_instance()