'pw_decode raises an Exception when supplied an invalid password.'

def test_aes_decode_with_invalid_password(self):

    payload = u'blah'
    password = u'uber    secret'
    wrong_password = u'not    the    password'
    enc = pw_encode(payload, password)
    self.assertRaises(Exception, pw_decode, enc, wrong_password)
