'Assert that no changes to user, profile, or pending email have been made to the db'

def assertRolledBack(self):

    self.assertEquals(self.user.email, User.objects.get(username=self.user.username).email)
    self.assertEquals(self.profile.meta, UserProfile.objects.get(user=self.user).meta)
    self.assertEquals(1, PendingEmailChange.objects.count())
