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'))
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'))