diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2024-09-08 18:20:25 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2024-09-08 18:27:06 +0200 |
commit | c002d92df42398987bd08947cdc4fcbef6295872 (patch) | |
tree | c0d4b514488b0d98d77285a1bd2bf54e888d3499 /tests | |
parent | c3f744db315f823b72b9138e84f7fe887cc670fb (diff) |
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%)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_write.doctest | 4 |
1 files changed, 2 insertions, 2 deletions
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 <?xml version="1.0" encoding="UTF-8"?> <pskc:KeyContainer ... Version="1.0"> |