https://kedro.org/ logo
#questions
Title
# questions
a

Ankit Kansal

10/03/2023, 9:48 AM
Team - I am trying to run pytest on databricks, and getting this error, any help would be helpful
d

datajoely

10/03/2023, 9:49 AM
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

Ankit Kansal

10/03/2023, 11:56 AM
image.png
@datajoely I need to use this below
d

datajoely

10/09/2023, 9:29 AM
@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

Juan Luis

10/09/2023, 9:34 AM
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

datajoely

10/09/2023, 9:47 AM
it was something to do with conftest fixture the mkdir failed
👀 1
a

Ankit Kansal

10/09/2023, 3:12 PM
@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

datajoely

10/09/2023, 3:15 PM
please!
UT?
a

Ankit Kansal

10/09/2023, 3:15 PM
unit tests
👍 1
it’s here!
good spot!
thanks for letting us know!
1
a

Ankit Kansal

10/09/2023, 3:17 PM
you are lightening fast...
a

Ankit Kansal

11/30/2023, 12:52 PM
This is solved now, thanks 🙂
d

datajoely

11/30/2023, 12:54 PM
what was the resolution @Ankit Kansal?
a

Ankit Kansal

11/30/2023, 1:25 PM
we strict the package version of kedro dataset package.
3 Views