def test_module_entry_point(self):
     with patch('%s.Runner' % pb) as mock_runner:
         console_entry_point()
     assert mock_runner.mock_calls == [
         call(),
         call().console_entry_point(),
     ]
Example #2
0
 def test_module_entry_point(self):
     with patch('%s.Runner' % pb) as mock_runner:
         console_entry_point()
     assert mock_runner.mock_calls == [
         call(),
         call().console_entry_point(),
     ]