def test_bad_confidence_user(self): self.assertNotEqual(stopspam.confidence(self.bad_username), 0)
def test_bad_confidence_email(self): self.assertNotEqual(stopspam.confidence(self.bad_email), 0)
def test_bad_confidence_ip(self): self.assertNotEqual(stopspam.confidence(self.bad_ip), 0)
def test_good_confidence_user(self): self.assertEquals(stopspam.confidence(self.good_username), 0)
def test_good_confidence_email(self): self.assertEquals(stopspam.confidence(self.good_email), 0)
def test_good_confidence_ip(self): self.assertEquals(stopspam.confidence(self.good_ip), 0)