summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2019-06-20 01:23:58 -0700
committerJames R. Barlow <jim@purplerock.ca>2019-06-20 01:23:58 -0700
commit20a01adaaff2d2a389d1fea4f5be753803a73714 (patch)
treeeaa2a6cee421499189064267678d5d202202cc85 /tests
parent6ed318f573834cf53aca2239f92a8055e6d1c7e0 (diff)
Permissions: Remove modify_all, wire print_*
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pdf.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test_pdf.py b/tests/test_pdf.py
index 0ac62ea..abe93cc 100644
--- a/tests/test_pdf.py
+++ b/tests/test_pdf.py
@@ -87,12 +87,7 @@ class TestPasswords:
class TestPermissions:
def test_some_permissions_missing(self, resources):
pdf = Pdf.open(resources / 'graph-encrypted.pdf', 'owner')
- assert (
- pdf.allow.modify_all
- == pdf.allow.print_highres
- == pdf.allow.modify_annotation
- == False
- )
+ assert pdf.allow.print_highres == pdf.allow.modify_annotation == False
def test_permissions_all_true_not_encrypted(self, trivial):
assert all(trivial.allow.values())