1
0
Fork 0

tests: moved tests under directory 'tests'

Also renamed directories to be more consistent.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2019-11-18 16:34:11 +01:00
parent 98ada2ba71
commit cff78c537c
37 changed files with 4 additions and 4 deletions

View file

@ -68,7 +68,7 @@ release-cp: release-dir
tuned-gui.py tuned-gui.glade \
tuned-gui.desktop $(VERSIONED_NAME)
cp -a doc experiments libexec man profiles systemtap tuned contrib icons \
$(VERSIONED_NAME)
tests $(VERSIONED_NAME)
archive: clean release-cp
tar czf $(VERSIONED_NAME).tar.gz $(VERSIONED_NAME)
@ -223,9 +223,9 @@ clean: clean-html
rm -rf $(VERSIONED_NAME) rpm-build-dir
test:
$(PYTHON) -m unittest discover tests
$(PYTHON) -m unittest discover tests/unit
lint:
$(PYLINT) -E -f parseable tuned *.py tests
$(PYLINT) -E -f parseable tuned *.py tests/unit
.PHONY: clean archive srpm tag test lint

View file

@ -1,5 +1,5 @@
import unittest2
import tests.globals
import tests.unit.globals
import tuned.monitors.base
class MockMonitor(tuned.monitors.base.Monitor):