tools: rename "nothing" to "pkg-with-no-deps" to make it a bit clearer

Tweak the package name a bit to more it very explicit what it's about.
This commit is contained in:
Michael Vogt 2024-04-04 16:06:46 +02:00 committed by Achilleas Koutsou
parent f8299cf57d
commit 599d3a8730
4 changed files with 58 additions and 31 deletions

View file

@ -2,7 +2,7 @@
# pylint: disable=invalid-name
"""
A JSON-based interface for depsolving using DNF.
A JSON-based interface for depsolving using DNF5.
Reads a request through stdin and prints the result to stdout.
In case of error, a structured error is printed to stdout as well.

View file

@ -95,15 +95,15 @@ test_cases = [
}
},
{
# "nothing" is the only package in the custom repo and has no dependencies
"packages": ["nothing"],
# "pkg-with-no-deps" is the only package in the custom repo and has no dependencies
"packages": ["pkg-with-no-deps"],
"results": {
"packages": {"nothing"},
"packages": {"pkg-with-no-deps"},
"reponames": {"custom"},
},
},
{
"packages": ["filesystem", "nothing"],
"packages": ["filesystem", "pkg-with-no-deps"],
"results": {
"packages": {
"basesystem",
@ -120,7 +120,7 @@ test_cases = [
"ncurses-libs",
"setup",
"tzdata",
"nothing",
"pkg-with-no-deps",
},
"reponames": {
"baseos",
@ -129,7 +129,7 @@ test_cases = [
},
},
{
"packages": ["tmux", "nothing"],
"packages": ["tmux", "pkg-with-no-deps"],
"results": {
"packages": {
"alternatives",
@ -171,7 +171,7 @@ test_cases = [
"tmux",
"tzdata",
"zlib",
"nothing",
"pkg-with-no-deps",
},
"reponames": {
"baseos",