summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2023-03-12 10:48:01 +0100
committerJohn Villalovos <john@sodarock.com>2023-03-12 20:51:01 -0700
commit847004be021b4a514e41bf28afb9d87e8643ddba (patch)
treed5b8c942fce3d6363a12f85f2b3ed4894f9d29b5
parent7a8a86278543a1419d07dd022196e4cb3db12d31 (diff)
downloadgitlab-847004be021b4a514e41bf28afb9d87e8643ddba.tar.gz
test(meta): move meta suite into unit tests
They're always run with it anyway, so it makes no difference.
-rw-r--r--pyproject.toml1
-rw-r--r--tests/unit/meta/__init__.py (renamed from tests/meta/__init__.py)0
-rw-r--r--tests/unit/meta/test_ensure_type_hints.py (renamed from tests/meta/test_ensure_type_hints.py)0
-rw-r--r--tests/unit/meta/test_mro.py (renamed from tests/meta/test_mro.py)0
-rw-r--r--tests/unit/meta/test_v4_objects_imported.py (renamed from tests/meta/test_v4_objects_imported.py)0
-rw-r--r--tox.ini4
6 files changed, 2 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 75b8c1d..520c03d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,7 +21,6 @@ ignore_errors = true
module = [
"tests.functional.*",
"tests.functional.api.*",
- "tests.meta.*",
"tests.smoke.*",
]
disable_error_code = ["no-untyped-def"]
diff --git a/tests/meta/__init__.py b/tests/unit/meta/__init__.py
index e69de29..e69de29 100644
--- a/tests/meta/__init__.py
+++ b/tests/unit/meta/__init__.py
diff --git a/tests/meta/test_ensure_type_hints.py b/tests/unit/meta/test_ensure_type_hints.py
index b5ec14c..b5ec14c 100644
--- a/tests/meta/test_ensure_type_hints.py
+++ b/tests/unit/meta/test_ensure_type_hints.py
diff --git a/tests/meta/test_mro.py b/tests/unit/meta/test_mro.py
index 4a6e652..4a6e652 100644
--- a/tests/meta/test_mro.py
+++ b/tests/unit/meta/test_mro.py
diff --git a/tests/meta/test_v4_objects_imported.py b/tests/unit/meta/test_v4_objects_imported.py
index f158a33..f158a33 100644
--- a/tests/meta/test_v4_objects_imported.py
+++ b/tests/unit/meta/test_v4_objects_imported.py
diff --git a/tox.ini b/tox.ini
index aa9ff6c..3d964f2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,7 +24,7 @@ isolated_build = True
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands =
- pytest tests/unit tests/meta {posargs}
+ pytest tests/unit {posargs}
[testenv:black]
basepython = python3
@@ -91,7 +91,7 @@ commands = sphinx-build -n -W --keep-going -b html docs build/sphinx/html
[testenv:cover]
commands =
pytest --cov --cov-report term --cov-report html \
- --cov-report xml tests/unit tests/meta {posargs}
+ --cov-report xml tests/unit {posargs}
[coverage:run]
omit = *tests*