[TIP] pytest: different tmppath in subprocesses
Hartmut Goebel
h.goebel at crazy-compilers.com
Mon Jun 7 09:30:53 PDT 2021
Am 02.06.21 um 16:56 schrieb Bruno Oliveira:
>
> One solution would be to do a small refactoring in your fixtures, to
> also expose their functionality as functions. For example:
>
Looks good. How can I "import" this function from conftest.py? Do I need
to import conftest.py (and is it save to so so)?
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel at crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20210607/0ef6a808/attachment.htm>
More information about the testing-in-python
mailing list