new test framework #1
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ class Runner:
|
|||
|
||||
def _run_main_test(self):
|
||||
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):
|
||||
"""runs pytest programmatically
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue