fix path for _run_main_test
This commit is contained in:
parent
f93ea27a6f
commit
a9850f792a
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ class Runner:
|
||||||
|
|
||||||
def _run_main_test(self):
|
def _run_main_test(self):
|
||||||
if isinstance(self.main_test_name, str):
|
if isinstance(self.main_test_name, str):
|
||||||
self._run_pytest(self.main_test_name)
|
full_test_path = self.root_dir / self.test_dir_name / self.main_test_name
|
||||||
|
self._run_pytest(full_test_path)
|
||||||
|
|
||||||
def _run_pytest(self, full_test_path: Path):
|
def _run_pytest(self, full_test_path: Path):
|
||||||
"""runs pytest programmatically
|
"""runs pytest programmatically
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue