File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 2929 flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3030 - name : Test with pytest
3131 run : |
32- pytest
32+ pytest --verbose tests/running_piper_test.py::TestVenv
Original file line number Diff line number Diff line change 11# pytest -vs tests/running_piper_test.py::TestDocker
2+ from pathlib import Path
3+ from shlex import split
4+ from subprocess import check_call
5+ from tempfile import TemporaryDirectory
6+ from venv import create
7+
28import requests
39
410from piper .envs import VirtualEnv
@@ -38,8 +44,8 @@ class TestVenv:
3844 venv container API test. Methods:
3945 dummy
4046 """
41-
42- with VirtualEnv () as env :
43- env .copy_struct_project ()
44- env .create_files_for_venv ()
45- env .create_files_for_tests ()
47+ def test_dummy ( self ):
48+ with VirtualEnv () as env :
49+ env .copy_struct_project ()
50+ env .create_files_for_venv ()
51+ env .create_files_for_tests ()
You can’t perform that action at this time.
0 commit comments