Exemple #1
0
 def test_main(self):
     with patch.object(commandline, 'parse_args') as pa:
         commandline.main()
         pa.assert_called_with(sys.argv[1:])
 def test_main(self):
     with patch.object(commandline, 'parse_args') as pa:
         commandline.main()
         pa.assert_called_with(sys.argv[1:])