def test_parse_genotype_json_into_dict(self): self.assertEqual( table_parser.genotype_to_dict(self.genotype_json), {"rs10065172": {"NA18576": "CC"}}) self.assertEqual( table_parser.genotype_to_dict(self.multiple_rs_genotype), {"rs10050860": {"NA18576": "CC"}, "rs10065172": {"NA18576": "TT"}})