From f9f65ead79eb3d429d158ed53859613cf645b439 Mon Sep 17 00:00:00 2001 From: Saria Hajjar Date: Wed, 20 Jul 2022 22:18:56 +0100 Subject: [PATCH] Move tests into module dir --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- {tests/platform => chromaterm/platform/tests}/__init__.py | 0 {tests/platform => chromaterm/platform/tests}/test_unix.py | 0 {tests => chromaterm/tests}/__init__.py | 0 {tests => chromaterm/tests}/conftest.py | 0 {tests => chromaterm/tests}/test___init__.py | 0 {tests => chromaterm/tests}/test__main__.py | 0 {tests => chromaterm/tests}/test_default_config.py | 0 {tests => chromaterm/tests}/test_pcre.py | 0 10 files changed, 2 insertions(+), 2 deletions(-) rename {tests/platform => chromaterm/platform/tests}/__init__.py (100%) rename {tests/platform => chromaterm/platform/tests}/test_unix.py (100%) rename {tests => chromaterm/tests}/__init__.py (100%) rename {tests => chromaterm/tests}/conftest.py (100%) rename {tests => chromaterm/tests}/test___init__.py (100%) rename {tests => chromaterm/tests}/test__main__.py (100%) rename {tests => chromaterm/tests}/test_default_config.py (100%) rename {tests => chromaterm/tests}/test_pcre.py (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18fb9a71..3167822a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: run: python3 setup.py install - name: PyTest - run: pytest --cov chromaterm/ --cov tests/ --cov-report term-missing + run: pytest --cov chromaterm/ --cov-report term-missing - name: Coveralls if: ${{ github.repository == 'hSaria/ChromaTerm' && github.event_name == 'push' }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3b00ba60..67d1b338 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,4 +21,4 @@ jobs: run: python3 setup.py install - name: PyLint - run: pylint --disable unnecessary-lambda-assignment chromaterm/ tests/ + run: pylint --disable unnecessary-lambda-assignment chromaterm/ diff --git a/tests/platform/__init__.py b/chromaterm/platform/tests/__init__.py similarity index 100% rename from tests/platform/__init__.py rename to chromaterm/platform/tests/__init__.py diff --git a/tests/platform/test_unix.py b/chromaterm/platform/tests/test_unix.py similarity index 100% rename from tests/platform/test_unix.py rename to chromaterm/platform/tests/test_unix.py diff --git a/tests/__init__.py b/chromaterm/tests/__init__.py similarity index 100% rename from tests/__init__.py rename to chromaterm/tests/__init__.py diff --git a/tests/conftest.py b/chromaterm/tests/conftest.py similarity index 100% rename from tests/conftest.py rename to chromaterm/tests/conftest.py diff --git a/tests/test___init__.py b/chromaterm/tests/test___init__.py similarity index 100% rename from tests/test___init__.py rename to chromaterm/tests/test___init__.py diff --git a/tests/test__main__.py b/chromaterm/tests/test__main__.py similarity index 100% rename from tests/test__main__.py rename to chromaterm/tests/test__main__.py diff --git a/tests/test_default_config.py b/chromaterm/tests/test_default_config.py similarity index 100% rename from tests/test_default_config.py rename to chromaterm/tests/test_default_config.py diff --git a/tests/test_pcre.py b/chromaterm/tests/test_pcre.py similarity index 100% rename from tests/test_pcre.py rename to chromaterm/tests/test_pcre.py