Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavla Kratochvilova <pkratoch@redhat.com>2021-02-04 16:40:27 +0300
committerLukáš Hrázký <lukkash@email.cz>2021-02-15 17:17:40 +0300
commitb78d47d77c835cfb8d2585471f5f9d8a44c99b0a (patch)
treef2fdc3c0fc01dc3b6a5ca3f6938688f09cf5aeea /README.md
parent909a0636665ed96f97babc3b887f9badc88875c3 (diff)
Replace python-nose with unittest
This doesn't change acceptance_tests in any way, because these tests don't work and will be replaced or removed soon. = changelog = resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1916785
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index c502b88..d5e628d 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,6 @@ Package build requires - Pkg name in Fedora/Ubuntu:
* *Documentation:* doxygen (http://doxygen.org/) - doxygen/doxygen
* *Documentation:* sphinx (http://sphinx-doc.org/) - python3-sphinx/python3-sphinx
* **Test requires:** check (http://check.sourceforge.net/) - check-devel/check
-* **Test requires:** python3-nose (https://nose.readthedocs.org/) - python3-nose/python3-nose
* **Test requires:** xz (http://tukaani.org/xz/) - xz/
* **Test requires:** zchunk (https://github.com/zchunk/zchunk) - zchunk/
@@ -153,7 +152,7 @@ Note: The C tests have to be built by ``make tests``)!
### Run only Python unittests (from your checkout dir):
- PYTHONPATH=`readlink -f ./build/src/python/` nosetests -s tests/python/tests/
+ PYTHONPATH=`readlink -f ./build/src/python/` python3 -m unittest discover -bs tests/python/
Note: When compiling createrepo_c without libmodulemd support add ``WITH_LIBMODULEMD=OFF``