def test_construction(self): column = self.column for key, value in COLUMN_DATA.items(): flexible_assert_equal(getattr(column, key), value, msg=key) for key, value in COLUMN_TYPE_DATA.items(): flexible_assert_equal(getattr(column.column_type, key), value, msg=key) for key, value in RESIN_DATA.items(): flexible_assert_equal(getattr(column.resin, key), value, msg=key)
def test_construction(self): system = self.system for key, value in SYSTEM_DATA.items(): flexible_assert_equal(getattr(system, key), value, msg=key)
def test_construction_elution(self): elution = self.elution for key, value in BUFFER_ELUTION.items(): flexible_assert_equal(getattr(elution, key), value, msg=key) self.assertEqual(elution.unique_id, {'name': elution.name})
def test_construction_load(self): load = self.load for key, value in SOLUTIONWITHPRODUCT_LOAD.items(): flexible_assert_equal(getattr(load, key), value, msg=key) self.assertEqual(load.unique_id, {'name': load.name})
def test_construction_pool(self): pool = self.pool for key, value in SOLUTIONWITHPRODUCT_POOL.items(): flexible_assert_equal(getattr(pool, key), value, msg=key) self.assertEqual(pool.unique_id, {'name': pool.name})