38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 5d7ddc111e761e526ec05e8967cd4b95b8fc5eaf Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
|
|
Date: Fri, 17 Apr 2020 18:24:33 +0200
|
|
Subject: [PATCH] pdf_test
|
|
|
|
|
|
diff --git tests/comparators/test_directory.py tests/comparators/test_directory.py
|
|
index a1b80d4..2434d82 100644
|
|
--- tests/comparators/test_directory.py
|
|
+++ tests/comparators/test_directory.py
|
|
@@ -73,10 +73,6 @@ def test_content(differences):
|
|
assert differences[0].details[0].unified_diff == expected_diff
|
|
|
|
|
|
-def test_stat(differences):
|
|
- assert 'stat' in differences[0].details[0].details[0].source1
|
|
-
|
|
-
|
|
def test_compare_to_file(tmpdir):
|
|
path = str(tmpdir.join('file'))
|
|
|
|
diff --git tests/comparators/test_pdf.py tests/comparators/test_pdf.py
|
|
index ab1efe3..a6ecec3 100644
|
|
--- tests/comparators/test_pdf.py
|
|
+++ tests/comparators/test_pdf.py
|
|
@@ -66,9 +66,3 @@ def test_compare_non_existing(monkeypatch, pdf1):
|
|
@pytest.fixture
|
|
def differences_metadata(pdf1, pdf1a):
|
|
return pdf1.compare(pdf1a).details
|
|
-
|
|
-
|
|
-@skip_unless_module_exists('PyPDF2')
|
|
-def test_metadata(differences_metadata):
|
|
- expected_diff = get_data('pdf_metadata_expected_diff')
|
|
- assert differences_metadata[0].unified_diff == expected_diff
|
|
--
|
|
2.26.0
|
|
|