summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Willhaus <mail@janwillhaus.de>2019-05-18 18:44:06 +0200
committerJan Willhaus <mail@janwillhaus.de>2019-05-18 19:27:25 +0200
commit90b889ac1fb473ae8472e756eac5f5879279bf3e (patch)
tree61562f91b70689bb42423ca1c24f384cc9384c4a
parenta8535d5d9e7896ebc4d5ca6276f27bc8279d975a (diff)
downloadwarlock-90b889ac1fb473ae8472e756eac5f5879279bf3e.tar.gz
Move unittests to tests/ dir
-rw-r--r--.coveragerc2
-rw-r--r--pytest.ini2
-rw-r--r--tests/__init__.py (renamed from test/__init__.py)0
-rw-r--r--tests/schemas/country.json (renamed from test/schemas/country.json)0
-rw-r--r--tests/schemas/person.json (renamed from test/schemas/person.json)0
-rw-r--r--tests/test_core.py (renamed from test/test_core.py)0
6 files changed, 2 insertions, 2 deletions
diff --git a/.coveragerc b/.coveragerc
index 1b53185..0b060d5 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -2,7 +2,7 @@
source =
warlock
omit =
- test/*
+ tests/*
venv/*
[report]
diff --git a/pytest.ini b/pytest.ini
index 1231a44..a07e947 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,5 +1,5 @@
[pytest]
-testpaths = test
+testpaths = tests
norecursedirs = .git venv __pycache__
addopts =
--cov
diff --git a/test/__init__.py b/tests/__init__.py
index e69de29..e69de29 100644
--- a/test/__init__.py
+++ b/tests/__init__.py
diff --git a/test/schemas/country.json b/tests/schemas/country.json
index 730eb0d..730eb0d 100644
--- a/test/schemas/country.json
+++ b/tests/schemas/country.json
diff --git a/test/schemas/person.json b/tests/schemas/person.json
index e517a53..e517a53 100644
--- a/test/schemas/person.json
+++ b/tests/schemas/person.json
diff --git a/test/test_core.py b/tests/test_core.py
index 51c0426..51c0426 100644
--- a/test/test_core.py
+++ b/tests/test_core.py