'Asserts failure on /login for inactive account looks right.'

def assert_json_failure_response_is_inactive_account(self, response):

    self.assertEqual(200, response.status_code)
    payload = json.loads(response.content)
    self.assertFalse(payload.get('success'))
    self.assertIn('In    order    to    sign    in,    you    need    to    activate    your    account.', payload.get('value'))
