def test_detect_1(lt_ctx): fpath = os.path.join(DM_TESTDATA_PATH, '2018-7-17 15_29_0000.dm4') assert DMDataSet.detect_params( path=fpath, executor=lt_ctx.executor, ) == { 'files': [fpath], }
def test_detect_2(lt_ctx): assert DMDataSet.detect_params( path="nofile.someext", executor=lt_ctx.executor, ) is False