Skip to content

Commit

Permalink
Test help function
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Apr 18, 2019
1 parent 051764e commit b476319
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ankipandas/test/test_convenience.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,19 @@ def tearDown(self):
for dir in self.dirs.values():
dir.cleanup()


class TestHelp(unittest.TestCase):
def test_table_help(self):
df = convenience.table_help()
self.assertListEqual(
list(df.columns),
["Name", "Tables", "Description", "Native"]
)
self.assertGreater(
len(df),
10
)


if __name__ == "__main__":
unittest.main()
unittest.main()

0 comments on commit b476319

Please sign in to comment.