test(wallpaper_changer): remove test description
This commit is contained in:
1 parent
d3561978fe
commit
f14cd89d7c
1 file changed
+2
-4
@@ -1,11 +1,10 @@
|
|||||||
import argparse
|
import argparse
|
||||||
from pathlib import Path
|
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
import unittest
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
from serverlibrary import setup_logging
|
from serverlibrary import setup_logging
|
||||||
|
|
||||||
|
|
||||||
TESTS_DIR = Path(__file__).resolve().parent
|
TESTS_DIR = Path(__file__).resolve().parent
|
||||||
PROJECT_DIR = TESTS_DIR.parent
|
PROJECT_DIR = TESTS_DIR.parent
|
||||||
SOURCE_DIR = PROJECT_DIR / "src"
|
SOURCE_DIR = PROJECT_DIR / "src"
|
||||||
@@ -29,7 +28,7 @@ def main() -> int:
|
|||||||
("unit", "integration") if args.suite == "all" else (args.suite,)
|
("unit", "integration") if args.suite == "all" else (args.suite,)
|
||||||
)
|
)
|
||||||
loader = unittest.TestLoader()
|
loader = unittest.TestLoader()
|
||||||
runner = unittest.TextTestRunner(verbosity=2)
|
runner = unittest.TextTestRunner(verbosity=2, descriptions=False)
|
||||||
successful = True
|
successful = True
|
||||||
setup_logging("ERROR", logfile="test.log")
|
setup_logging("ERROR", logfile="test.log")
|
||||||
for suite_name in suite_names:
|
for suite_name in suite_names:
|
||||||
@@ -46,6 +45,5 @@ def main() -> int:
|
|||||||
|
|
||||||
return 0 if successful else 1
|
return 0 if successful else 1
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
raise SystemExit(main())
|
raise SystemExit(main())
|
||||||
Reference in new issue
Block a user