Exemple #1
0
 def test__cli__batchy_update__no_flags(self):
     self.assertTrue(isinstance(main(['update', 'a', 'b']), list))
Exemple #2
0
 def test__cli__batchy_view__no_args(self):
     try:
         main(['view'])
     except SystemExit as e:
         self.fail(str(e))
Exemple #3
0
 def test__cli__batchy_find__no_flags(self):
     self.assertIs(None, main(['find', 'a']))