def test_status_view_redirect(self):
    ' test status view '
    self.client.login(username='testuser_status', password='D9lPsoHFXeCNKEzM3IgE')
    destination = urllib.parse.quote('/config/status/', safe='/')
    response = self.client.get('/config/status', follow=True)
    self.assertRedirects(response, destination, status_code=301, target_status_code=200)
test status view
def test_status_view_redirect(self):
    '  '
    self.client.login(username='testuser_status', password='D9lPsoHFXeCNKEzM3IgE')
    destination = urllib.parse.quote('/config/status/', safe='/')
    response = self.client.get('/config/status', follow=True)
    self.assertRedirects(response, destination, status_code=301, target_status_code=200)