Skip to content

Commit 4978b8a

Browse files
committed
Move tests/ under the root of the project
1 parent 65e4d0c commit 4978b8a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
File renamed without changes.

src/solidation/tests/test_main.py renamed to tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ..__main__ import sanitize_md
1+
from solidation.__main__ import sanitize_md
22

33

44
def test_sanitize_md() -> None:

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ minversion = 3.3.0
66
[testenv]
77
extras = test
88
commands =
9-
python -m pytest -v {posargs} src
9+
python -m pytest -v {posargs} tests
1010

1111
[testenv:lint]
1212
skip_install = True
@@ -16,13 +16,13 @@ deps =
1616
flake8-builtins
1717
flake8-unused-arguments
1818
commands =
19-
flake8 src
19+
flake8 src tests
2020

2121
[testenv:typing]
2222
deps =
2323
mypy
2424
commands =
25-
mypy src
25+
mypy src tests
2626

2727
[flake8]
2828
doctests = True
@@ -42,4 +42,4 @@ lines_between_sections = 0
4242
profile = black
4343
reverse_relative = True
4444
sort_relative_in_force_sorted_sections = True
45-
src_paths = src
45+
src_paths = src tests

0 commit comments

Comments
 (0)