def test_clean_party_others(self):
     self.assertEquals(clean_party('Green'), 'GREEN')
 def test_clean_party_dem(self):
     self.assertEquals(clean_party('Democratic'), 'DEM')
 def test_clean_party_gop(self):
     self.assertEquals(clean_party('GOP'), 'REP')
示例#4
0
 def test_clean_party_others(self):
     self.assertEquals(clean_party('Green'), 'GREEN')
示例#5
0
 def test_clean_party_dem(self):
     self.assertEquals(clean_party('Democratic'), 'DEM')
示例#6
0
 def test_clean_party_gop(self):
     self.assertEquals(clean_party('GOP'), 'REP')