1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-17 01:32:37 +02:00

add test for jc -h

This commit is contained in:
Kelly Brazil
2024-02-12 11:00:02 -08:00
parent d50bd96ce6
commit 44dc2a74c1

View File

@ -324,6 +324,10 @@ class MyTests(unittest.TestCase):
self.assertGreaterEqual(cli.about_jc()['parser_count'], 55)
self.assertEqual(cli.about_jc()['parser_count'], len(cli.about_jc()['parsers']))
def test_cli_parsers_text(self):
cli = JcCli()
self.assertIsNot(cli.parsers_text, '')
def test_add_meta_to_simple_dict(self):
cli = JcCli()
cli.data_out = {'a': 1, 'b': 2}