예제 #1
0
 def test_main(self, Command):
     c = Command.return_value = Mock()
     main()
     c.execute_from_commandline.assert_called_with()
예제 #2
0
 def test_main(self, Command):
     c = Command.return_value = Mock()
     main()
     c.execute_from_commandline.assert_called_with()