def test_checkforrun(self):
     """Check for the presence of runs in an Illumina SampleSheet.
     """
     fcdir = "fake/101007_80HM7ABXX"
     config = {"samplesheet_directories" : [os.path.dirname(self.ss_file)]}
     ss = samplesheet.run_has_samplesheet(fcdir, config, False)
     assert ss is not None
     fcdir = "fake/101007_NOPEXX"
     ss = samplesheet.run_has_samplesheet(fcdir, config, False)
     assert ss is None
 def test_checkforrun(self):
     """Check for the presence of runs in an Illumina SampleSheet.
     """
     fcdir = "fake/101007_80HM7ABXX"
     config = {"samplesheet_directories": [os.path.dirname(self.ss_file)]}
     ss = samplesheet.run_has_samplesheet(fcdir, config, False)
     assert ss is not None
     fcdir = "fake/101007_NOPEXX"
     ss = samplesheet.run_has_samplesheet(fcdir, config, False)
     assert ss is None