Lines Matching refs:expected
96 def test_scanpathresults_dunders(original, provided, expected): argument
99 assert result == expected
206 def test_scan_file(test_data, test_file, class_env, expected: ScanPathResult):
214 assert result == expected
253 def test_scan_file_mmap(os_name, expected): argument
258 assert expected.items() <= kwargs.items()
372 def test_get_unique(testsuite_root, suite_path, name, expected): argument
379 assert suite.name == expected
427 expected argument
429 with pytest.raises(expected) if \
430 isinstance(expected, type) and issubclass(expected, Exception) \
442 assert result == expected
456 def test_find_c_files_in(isdir, expected): argument
521 assert sorted(filenames) == sorted(expected)
628 expected argument
675 assert len(result[0]) == len(expected[0])
677 [expected_subcase in result[0] for expected_subcase in expected[0]]
679 assert len(result[1]) == len(expected[1])
681 [expected_subcase in result[1] for expected_subcase in expected[1]]
697 def test_find_src_dir_path(test_dir_path, isdir_path, expected): argument
704 assert os.path.normpath(result) == expected or result == expected
770 expected argument
782 assert len(suite.testcases) == len(expected)
784 for expected_value in expected:
842 expected argument
846 with pytest.raises(expected) if \
847 isinstance(expected, type) and issubclass(expected, Exception) \
856 for attr_name, value in expected:
903 def test_get_no_detailed_test_id(testsuite_root, suite_path, name, expected): argument
907 assert suite.name == expected