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:
parent
f8299cf57d
commit
599d3a8730
4 changed files with 58 additions and 31 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue