def test_main_help(self): self.assertEqual(0, hm.main(['hod', '--help']))
def test_main_bad_cmd(self): self.assertEqual(1, hm.main(['hod', 'banana']))
def test_main_good_cmd(self): self.assertEqual(0, hm.main(['hod', 'dists']))
def test_main_no_args(self): self.assertEqual(0, hm.main([]))