(expected_files, dir_path, test_case: TestCase)
| 502 | |
| 503 | |
| 504 | def assert_dir_files(expected_files, dir_path, test_case: TestCase): |
| 505 | expected_files_sorted = sorted(copy(expected_files)) |
| 506 | actual_files = sorted(os.listdir(dir_path)) |
| 507 | |
| 508 | test_case.assertSequenceEqual(expected_files_sorted, actual_files) |
| 509 | |
| 510 | |
| 511 | def assert_contains_sub_dict(test_case: TestCase, big_dict: dict, sub_dict: dict): |
nothing calls this directly
no outgoing calls
no test coverage detected