From c002d92df42398987bd08947cdc4fcbef6295872 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 8 Sep 2024 18:20:25 +0200 Subject: Have tests fail on missing coverage This also only prints missed coverage on the terminal after the tests. Fixes 1d6e115 (removed requirement) and e99f7c8 (reduced coverage below 100%) --- tests/test_write.doctest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_write.doctest b/tests/test_write.doctest index 3b6196a..c1ea198 100644 --- a/tests/test_write.doctest +++ b/tests/test_write.doctest @@ -1,6 +1,6 @@ test_write.doctest - tests for writing PSKC files -Copyright (C) 2014-2022 Arthur de Jong +Copyright (C) 2014-2024 Arthur de Jong This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -318,7 +318,7 @@ specified and we assume to use the encryption key as MAC key). If we decrypt the file the MAC key will be included in encrypted form. ->>> pskc.encryption.derive_key('qwerty') +>>> pskc.encryption.derive_key(b'qwerty') >>> pskc.write(sys.stdout) #doctest: +ELLIPSIS +REPORT_UDIFF -- cgit v1.2.3