Team - I am trying to run pytest on databricks, an...
# questions
a
Team - I am trying to run pytest on databricks, and getting this error, any help would be helpful
d
you’ve still got an email address in the bottom there
and the filepath
does your
conftest.py
include a mkdir? or a temporary directory?
a
image.png
@datajoely I need to use this below
d
@Jo Stichbury @Juan Luis we need to add this to the databricks docs- it’s a super niche issue so I’m not sure how to integrate it. Essentially temporary files used by Pytest fixtures need this tweak
@Ankit Kansal how did you even find this solution?!
We could put this in the databricks starter too
j
ugh, thanks for the follow up folks - I didn't see the original error, @datajoely do you mind rehashing the context? and I can open an issue myself
d
it was something to do with conftest fixture the mkdir failed
👀 1
a
@datajoely I was going through the databricks docs and they have some documentation on running UT, and there is a block code, if it helps i can share the same here.
d
please!
UT?
a
unit tests
👍 1
it’s here!
good spot!
thanks for letting us know!
1
a
you are lightening fast...
a
This is solved now, thanks 🙂
d
what was the resolution @Ankit Kansal?
a
we strict the package version of kedro dataset package.