'Verify that login is required to access the page.'

def test_login_required(self, mock_get_programs):

    self.create_programs_config()
    mock_get_programs.return_value = self.data
    self.client.logout()
    response = self.client.get(self.url)
    self.assertRedirects(response, '{}?next={}'.format(reverse('signin_user'), self.url))
    self.client.login(username=self.user.username, password=self.password)
    response = self.client.get(self.url)
    self.assertEqual(response.status_code, 200)
