Should be TestCase.assertEquals to test equality, not equivalence.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-06-09 08:07:00 +00:00
parent 900c41619b
commit 762f750db0
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ authentication."""
encrypted = str(gpg.encrypt(message, dijk)) encrypted = str(gpg.encrypt(message, dijk))
log.debug("Plaintext: %s" % message) log.debug("Plaintext: %s" % message)
log.debug("Encrypted: %s" % encrypted) log.debug("Encrypted: %s" % encrypted)
self.assertNotEqual(message, encrypted) self.assertNotEquals(message, encrypted)
def test_encryption_alt_encoding(self): def test_encryption_alt_encoding(self):
"""Test encryption with latin-1 encoding""" """Test encryption with latin-1 encoding"""