Ejemplo n.º 1
0
 def test_has_genotype_keys_should_support_multiple_keys(self):
     sample_data = SampleData(['genotype_key1', 'genotype_key2'],
                              ['sample_name'])
     self.assertTrue(sample_data.has_genotype_key('genotype_key1'))
     self.assertTrue(sample_data.has_genotype_key('genotype_key2'))
Ejemplo n.º 2
0
 def test_has_genotype_key_should_report_expected_value(self):
     sample_data = SampleData(['genotype_key'], ['sample_name'])
     self.assertTrue(sample_data.has_genotype_key('genotype_key'))
     self.assertFalse(sample_data.has_genotype_key('missing_genotype_key'))