Lines Matching refs:tmp_path
47 def test_two_packages_differing_only_in_a_time_field_compare_equal(tmp_path): argument
48 a = package(tmp_path / "a.zip", BODY)
49 b = package(tmp_path / "b.zip", BODY.replace("07:47:54", "09:00:00"))
55 def test_any_other_difference_is_reported(tmp_path, change): argument
56 a = package(tmp_path / "a.zip", BODY)
57 b = package(tmp_path / "b.zip", change(BODY))
61 def test_a_difference_in_styles_xml_is_reported(tmp_path): argument
62 a = package(tmp_path / "a.zip", BODY)
63 b = package(tmp_path / "b.zip", BODY, "<office:document-styles>x</office:document-styles>")
67 def test_a_part_neither_package_has_is_not_compared(tmp_path): argument
68 a = package(tmp_path / "a.zip", BODY, None)
69 b = package(tmp_path / "b.zip", BODY, None)
71 …assert stability.differing_parts(a, package(tmp_path / "c.zip", BODY.replace("Hello", "Hullo"), No…
74 def test_a_part_only_one_package_has_is_reported(tmp_path): argument
75 a = package(tmp_path / "a.zip", BODY, None)
76 b = package(tmp_path / "b.zip", BODY)