def test_gene_unicode(self): '''This tests that the unicode representation of a :class:`~genes.models.Gene` is set as its name.''' test_gene = Gene(name = "Pikfyve", ensemblID = "ENSMUSG00000025949", chromosome = 1, start = 65186750, end = 65274012, strand = 1, band = "C2", transcript_count = 1, type = "protein_coding", status = "KNOWN") self.assertEqual(test_gene.__unicode__(), "Pikfyve")
def test_gene_unicode(self): """This tests that the unicode representation of a :class:`~genes.models.Gene` is set as its name.""" test_gene = Gene( name="Pikfyve", ensemblID="ENSMUSG00000025949", chromosome=1, start=65186750, end=65274012, strand=1, band="C2", transcript_count=1, type="protein_coding", status="KNOWN", ) self.assertEqual(test_gene.__unicode__(), "Pikfyve")