Skip to content

Commit f4aaf0c

Browse files
authored
Move tester to tests.lib (#21)
* Move tester -> tests.lib * Rename the test file * Oh, so there's a Makefile too!
1 parent 02cf35f commit f4aaf0c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ BINDIR = $(PWD)/.state/env/bin
1212

1313
test: .state/env/pyvenv.cfg
1414
$(BINDIR)/pytest
15-
$(BINDIR)/python -m tester
15+
$(BINDIR)/python -m tests.lib
1616

1717
lint: .state/env/pyvenv.cfg
18-
$(BINDIR)/black --check tests tester trove_classifiers
18+
$(BINDIR)/black --check tests trove_classifiers
1919

2020
reformat: .state/env/pyvenv.cfg
21-
$(BINDIR)/black tests tester trove_classifiers
21+
$(BINDIR)/black tests trove_classifiers
2222

2323
.PHONY: build test lint reformat
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from tester import trove_tester
1+
from tests.lib import trove_tester
22
from trove_classifiers import classifiers, deprecated_classifiers
33

44
trove_tester(classifiers, deprecated_classifiers)

tests/test_tester.py renamed to tests/test_classifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from tester import trove_tester, InvalidClassifier
3+
from tests.lib import trove_tester, InvalidClassifier
44

55

66
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)