def test_initialization(self):
EXPECTED = {
'id': self.flow_cell.pk,
'demux_operator': None,
'owner': self.user.pk,
'description': 'Description',
'sequencing_machine': self.machine.pk,
'num_lanes': 8,
'status': models.FLOWCELL_STATUS_SEQ_COMPLETE,
'operator': 'John Doe',
'is_paired': True,
'index_read_count': 1,
'rta_version': models.RTA_VERSION_V2,
'read_length': 151,
'label': 'LABEL',
'run_date': datetime.date(2016, 3, 3),
'run_number': 815,
'slot': 'A',
'status': 'seq_complete',
'vendor_id': 'BCDEFGHIXX',
}
self.assertEqual(model_to_dict(self.flow_cell), EXPECTED)
评论列表
文章目录