Replies: 3 comments 4 replies
-
in general its always suggested to run a subprocess additionally for pyargs, a python module name needs to be passed, you passed a filename |
Beta Was this translation helpful? Give feedback.
-
I started with the this as the first example that had that issue: |
Beta Was this translation helpful? Give feedback.
-
The problem is that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For various reasons at work, I have to be able to trigger pytest remotely via an api wrapper using in fast api. Tests are stored in multiple modules under a folder named test. I currently use this function to try to call a test module directly however no tests are collected.
Could anyone else advise a suggestion to how to invoke pytest main so that I can call a module directly?
Beta Was this translation helpful? Give feedback.
All reactions