aboutsummaryrefslogtreecommitdiff
path: root/sigsum-witness_test.py
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-07-05 08:38:47 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-07-05 08:38:47 +0200
commit6d2e1e1b2845f3c5c2b83c3bbaf523b722d759f8 (patch)
tree3df3cba27a8546dd77797c93de1e3db03deb45b2 /sigsum-witness_test.py
parentd0af9908d289b82bc82bb2fa9ce0ab0554fb6c71 (diff)
add assert for consistency in testsHEADmain
Diffstat (limited to 'sigsum-witness_test.py')
-rw-r--r--sigsum-witness_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigsum-witness_test.py b/sigsum-witness_test.py
index 3c0241b..084aa78 100644
--- a/sigsum-witness_test.py
+++ b/sigsum-witness_test.py
@@ -9,7 +9,7 @@ class Test_check_sigkeyfile:
def test_file_ok(self, tmp_path):
path = tmp_path / "key"
path.touch(mode=0o700)
- witness.check_sigkeyfile(path)
+ assert witness.check_sigkeyfile(path) is None
def test_file_notfound(self, tmp_path):
path = tmp_path / "key"