示例#1
0
def test_detect_seq(lt_ctx):
    path = SEQ_TESTDATA_PATH
    assert SEQDataSet.detect_params(path, lt_ctx.executor) is not False
示例#2
0
def test_detect_unicode_error(raw_with_zeros, lt_ctx):
    path = raw_with_zeros._path
    SEQDataSet.detect_params(path, InlineJobExecutor())
示例#3
0
def test_detect_non_seq(raw_with_zeros, lt_ctx):
    path = raw_with_zeros._path
    # raw_with_zeros is not a SEQ file, caused UnicodeDecodeError before:
    assert SEQDataSet.detect_params(path, InlineJobExecutor()) is False