diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 04:25:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 04:25:26 +0000 |
commit | 5ceacb82619304a784634ee5bb0ad0ea4e54ab3c (patch) | |
tree | 3b5e6fd489662166a27092ed563714d2a678576a /test/test.py | |
parent | Initial commit. (diff) | |
download | package-notes-5ceacb82619304a784634ee5bb0ad0ea4e54ab3c.tar.xz package-notes-5ceacb82619304a784634ee5bb0ad0ea4e54ab3c.zip |
Adding upstream version 0.10~exp.upstream/0.10_exp
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/test.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test.py b/test/test.py new file mode 100644 index 0000000..462f476 --- /dev/null +++ b/test/test.py @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: CC0-1.0 + +from _notes import read_dlopen_notes, group_by_soname + +def test_notes(): + expected = { + 'libfido2.so.1': 'required', + 'liblz4.so.1': 'recommended', + 'libpcre2-8.so.0': 'suggested', + 'libpcre2-8.so.1': 'suggested', + 'libtss2-esys.so.0': 'recommended', + 'libtss2-mu.so.0': 'recommended', + } + notes = [read_dlopen_notes('notes')] + assert group_by_soname(notes) == expected |