mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-17 01:32:37 +02:00
add additional test for dict inside list for all_parser_info()
This commit is contained in:
@ -40,8 +40,9 @@ class MyTests(unittest.TestCase):
|
||||
def test_lib_parser_info_csv(self):
|
||||
self.assertTrue(jc.lib.parser_info('csv')['name'] == 'csv')
|
||||
|
||||
def test_lib_all_parser_info_is_list(self):
|
||||
def test_lib_all_parser_info_is_list_of_dicts(self):
|
||||
self.assertIsInstance(jc.lib.all_parser_info(), list)
|
||||
self.assertIsInstance(jc.lib.all_parser_info()[0], dict)
|
||||
|
||||
def test_lib_all_parser_info_contains_csv(self):
|
||||
p_list = []
|
||||
|
Reference in New Issue
Block a user