Closed tade0726 closed 4 years ago
Hi @tade0726 . Thanks for reporting this issue. I am not using databricks myself, so it's really hard for me to debug. My feeling is that the magic mechanism somehow works differently in Databricks. Could you try running it manually? Maybe that would be an option. You code should be more or less the same as
ipytest.clean_tests()
# <your code>
def test_get_label_dir():
assert get_label_dir("/test/daisy") == "daisy"
ipytest.run(["-qq"])
Meanwhile I'll also try to ping Databricks on twitter maybe they're willing to support here.
Since there is no feedback from op or databricks, I'll close this as not supported.
I wish to use
ipytest
indatabricks
, but I ran into an error like below.I notice that this is something related to the databricks' mechanism: https://menziess.github.io/howto/test/code-in-databricks-notebooks/
Is it possible we can introduce
ipytest
in databricks?My cells:
Error: