commit: 5e421373f2cc82ad2a000925e01bb5421d280b76
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 02:09:06 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 03:24:54 2020 +0000
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=5e421373
ekeyword: Rename unit test so that it runs
unittests should be named test_*.py so that they are discoverable.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
pym/gentoolkit/ekeyword/pytest.ini | 2 +-
pym/gentoolkit/ekeyword/{ekeyword_unittest.py => test_ekeyword.py} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pym/gentoolkit/ekeyword/pytest.ini
b/pym/gentoolkit/ekeyword/pytest.ini
index 622c9d8..7e21bec 100644
--- a/pym/gentoolkit/ekeyword/pytest.ini
+++ b/pym/gentoolkit/ekeyword/pytest.ini
@@ -1,3 +1,3 @@
[pytest]
addopts = --cov
-python_files = *_unittest.py
+python_files = test_*.py
diff --git a/pym/gentoolkit/ekeyword/ekeyword_unittest.py
b/pym/gentoolkit/ekeyword/test_ekeyword.py
similarity index 99%
rename from pym/gentoolkit/ekeyword/ekeyword_unittest.py
rename to pym/gentoolkit/ekeyword/test_ekeyword.py
index ef2e256..3d23585 100755
--- a/pym/gentoolkit/ekeyword/ekeyword_unittest.py
+++ b/pym/gentoolkit/ekeyword/test_ekeyword.py
@@ -12,7 +12,7 @@ import unittest
import mock
-import ekeyword
+from gentoolkit.ekeyword import ekeyword
TESTDIR = os.path.join(os.path.dirname(__file__), 'tests')