Skip to content

Commit f77596c

Browse files
committed
Update test cases for case:
self.assertTrue(output == expected) to self.assertEquals(expected, output )
1 parent e4bb0e9 commit f77596c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

about_code_tool/tests/test_genattrib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_convert_dict_key_to_lower_case(self):
3434
input_list = [{'Directory': '/test/', 'file_name': 'test.c'}]
3535
expected_list = [{'directory': '/test/', 'file_name': 'test.c'}]
3636
output = genattrib.convert_dict_key_to_lower_case(input_list)
37-
self.assertTrue(output == expected_list)
37+
self.assertEquals(output, expected_list)
3838

3939
def test_check_no_about_file_existance(self):
4040
input_list = [{'Directory': '/test/', 'file_name': '/test.c'}]

0 commit comments

Comments
 (0)