When I run the simple test in a notebook, it works fine, but when I run it from the Azure ADO pipeline, it fails with the error.
code;
def __init__(self):
NutterFixture.__init__(self)
from runtime.nutterfixture import NutterFixture, tag
class uTestsDataBricks(NutterFixture):
def assertion_test_SampleB(self):
assert (1 == 1)
result = uTestsDataBricks().execute_tests()
result = uTestsDataBricks().execute_tests()
print(result.to_string())
is_job = dbutils.notebook.entry_point.getDbutils().notebook().getContext().currentRunId().isDefined()
if is_job:
result.exit(dbutils)
Error message:
In a notebook, it works fine, but when I run it from the Azure ADO pipeline, it shows that test executed but I don't get result That it PASSED or FAILED . I get an error:
Nutter Version 0.1.35
++++++++++++++++++++++++++++++++++++++++++++++++++
-> 1 of 1 tests scheduled for execution
CRITICAL:NutterCLI:'<' not supported between instances of 'str' and 'int'
--> 1 of 1 tests executed
Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name='<stdout>'> at interpreter shutdown, possibly due to daemon threads
Python runtime state: finalizing (tstate=00000174CFECF6D0)
Current thread 0x00000414 (most recent call first):
<no Python frame>