Skip to content

Commit c09aef9

Browse files
committed
Update setup.py
1 parent 2602826 commit c09aef9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.pytest_cache/
33
venv/
44
/test.py
5+
/json2python-models-*/
56

67
htmlcov/
78
.coverage

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ def run_tests(self):
4242
tests_require=["pytest"],
4343
project_urls={
4444
'Source': URL
45-
}
45+
},
46+
data_files=[('', ['pytest.ini', '.coveragerc', 'LICENSE'])]
4647
)

test/test_cli/test_script.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
if not test_data_path.exists():
1818
test_data_path = None
1919

20-
print("test_data_path:", test_data_path)
21-
2220
# Create fixture to auto cleanup tmp directory after tests
2321
@pytest.fixture(scope="session", autouse=True)
2422
def tmp_dir_cleanup():
@@ -82,7 +80,6 @@ def test_help():
8280

8381
@pytest.mark.parametrize("command", test_commands)
8482
def test_script(command):
85-
print("Command:", command)
8683
proc = subprocess.Popen(shlex.split(command), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
8784
stdout, stderr = proc.communicate()
8885
assert not stderr, stderr

0 commit comments

Comments
 (0)