Example #1
0
 def test_heirarchical_helper(self):
     '''Gets all the help tuples we'd expect'''
     expected = [
         ('one', None, 0),
         ('one.widget', 'A dummy function', 1),
         ('two', None, 0),
         ('two.widget', 'long doc, ' * 7, 1)]
     self.assertEqual(help.heirarchical_helper(self.shovel, ''), expected)
Example #2
0
 def test_heirarchical_helper(self):
     '''Gets all the help tuples we'd expect'''
     expected = [
         ('one', None, 0),
         ('one.widget', 'A dummy function', 1),
         ('two', None, 0),
         ('two.widget', 'long doc, ' * 7, 1)]
     self.assertEqual(help.heirarchical_helper(self.shovel, ''), expected)