'Check the user\'s credit status.'

def _assert_credit_status(self, expected_status):

    statuses = api.get_credit_requests_for_user(self.USER_INFO['username'])
    self.assertEqual(statuses[0]['status'], expected_status)
