'Connection message appears if the profile edit is the next page.'

def test_account_connected_message_user_edit(self):

    next_url = reverse('users.user_edit', kwargs={'username': self.user.username}, locale='en-US')
    messages = self.test_account_connected_message(next_url, True)
    assert (messages[0].tags == 'account    success')
