Move package's related commands to "package" sub-folder

This commit is contained in:
Ivan Kravets
2022-02-10 15:22:20 +02:00
parent 8082158a16
commit e36066a9a2
6 changed files with 304 additions and 231 deletions
+11 -14
View File
@@ -335,17 +335,14 @@ def test_lib_stats(clirunner, validate_cliresult):
result = clirunner.invoke(cmd_lib, ["stats", "--json-output"])
validate_cliresult(result)
assert (
set(
[
"dlweek",
"added",
"updated",
"topkeywords",
"dlmonth",
"dlday",
"lastkeywords",
]
)
== set(json.loads(result.output).keys())
)
assert set(
[
"dlweek",
"added",
"updated",
"topkeywords",
"dlmonth",
"dlday",
"lastkeywords",
]
) == set(json.loads(result.output).keys())