diff options
| author | Matt Turner <mattst88@gentoo.org> | 2020-12-20 21:09:06 -0500 |
|---|---|---|
| committer | Matt Turner <mattst88@gentoo.org> | 2020-12-20 22:24:54 -0500 |
| commit | 5e421373f2cc82ad2a000925e01bb5421d280b76 (patch) | |
| tree | 9bd0906080aaf27d916364331abad4ec984a2b83 /pym | |
| parent | aa28f4aa9a12bedce5a5834b009260d132706de5 (diff) | |
| download | gentoolkit-5e421373f2cc82ad2a000925e01bb5421d280b76.tar.gz | |
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@gentoo.org>
Diffstat (limited to 'pym')
| -rw-r--r-- | pym/gentoolkit/ekeyword/pytest.ini | 2 | ||||
| -rwxr-xr-x | pym/gentoolkit/ekeyword/test_ekeyword.py (renamed from pym/gentoolkit/ekeyword/ekeyword_unittest.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 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') |
