def test_filter_processed(tmpdir, testdata): scene = pyroSAR.identify(testdata['s1']) assert len(pyroSAR.filter_processed([scene], str(tmpdir))) == 1
def test_filter_processed(tmpdir): scene = pyroSAR.identify(testfile1) assert len(pyroSAR.filter_processed([scene], str(tmpdir))) == 1
def test_filter_processed(): scene = pyroSAR.identify(testfile1) outdir = 'pyroSAR/tests' assert len(pyroSAR.filter_processed([scene], outdir)) == 1