'signature() method should generate a signature'

def test_signature(self):

    signer = signing.Signer(u'predictable-secret')
    signer2 = signing.Signer(u'predictable-secret2')
    for s in ('hello', '3098247:529:087:', u'\u2019'.encode(u'utf-8')):
        self.assertEqual(signer.signature(s), signing.base64_hmac((signer.salt + u'signer'), s, u'predictable-secret').decode())
        self.assertNotEqual(signer.signature(s), signer2.signature(s))
