def test_main_hook_missing(self, _argv):
     _argv = ['hooks/start']
     hooks.main()
     self.log.assert_called()
 def test_main_hook_exists(self, _install, _argv):
     _argv = ['hooks/install']
     hooks.main()
     _install.assert_called()