From 6d2e1e1b2845f3c5c2b83c3bbaf523b722d759f8 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 5 Jul 2022 08:38:47 +0200 Subject: add assert for consistency in tests --- sigsum-witness_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3