Beispiel #1
0
    def test_seq_demux_started_done(self):
        fc = BaseFlowcell(self.original_flowcell)
        self.assertIsNotNone(fc.sequencing_started)
        # self.assertEqual(type(fc.sequencing_started), type(datetime.datetime))
        self.assertIsNotNone(fc.sequencing_done)
        # self.assertEqual(type(fc.sequencing_done), type(datetime.datetime))
        self.assertIsNotNone(fc.demultiplexing_started)
        # self.assertEqual(type(fc.demultiplexing_started), type(datetime))
        self.assertIsNotNone(fc.demultiplexing_done)

        datetime_set = {
            type(fc.sequencing_started),
            type(fc.sequencing_done),
            type(fc.demultiplexing_started),
            type(fc.demultiplexing_done)
        }

        self.assertSetEqual({type(datetime.datetime.now())}, datetime_set)
Beispiel #2
0
 def test_run_info_present(self):
     fc = BaseFlowcell(path=self.original_flowcell)
     self.assertIsNotNone(fc.run_info)
     self.assertIsNotNone(fc.run_parameters)
     self.assertIsNotNone(fc.cycle_times)
     self.assertIsNotNone(fc.sample_sheet)
Beispiel #3
0
 def test_path(self):
     fc = BaseFlowcell(self.original_flowcell)
     self.assertEqual(self.original_flowcell, fc.path)