Skip to content

Commit c9a7036

Browse files
committed
test: fix
1 parent 6248567 commit c9a7036

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

tests/conftest.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66

77
@pytest.fixture
88
def production_template():
9-
import cookiecutter_python_package as cpp
9+
import cookiecutter_python as cpp
1010
path = os.path.dirname(cpp.__file__)
1111
return path
12-
# MY_DIR = os.path.dirname(os.path.realpath(__file__))
13-
# TEST_DATA_DIR = os.path.join(MY_DIR, 'data')
14-
# return os.path.join(TEST_DATA_DIR, 'test_cookiecutter.json')
1512

1613

1714
@pytest.fixture
@@ -94,14 +91,3 @@ def _callable() -> CLIResult:
9491
@pytest.fixture
9592
def invoke_tox_cli_to_run_test_suite(get_cli_invocation):
9693
return get_cli_invocation('python', '-m', 'tox', '-vv')
97-
98-
99-
# ASSERTIONS
100-
101-
@pytest.fixture
102-
def assert_cli_passed():
103-
def _assert_cli_passed(runtime_result, expected_result):
104-
assert runtime_result == expected_result
105-
return _assert_cli_passed
106-
107-

tests/test_prehook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@pytest.fixture
1010
def is_valid_python_module_name():
11-
from cookiecutter_python_package.hooks.pre_gen_project import is_valid_python_module_name
11+
from cookiecutter_python.hooks.pre_gen_project import is_valid_python_module_name
1212
return is_valid_python_module_name
1313

1414

0 commit comments

Comments
 (0)