'Setting `.credentials()` adds the required headers to each request.'

def test_credentials(self):

    self.client.credentials(HTTP_AUTHORIZATION=u'example')
    for _ in range(0, 3):
        response = self.client.get(u'/view/')
        assert (response.data[u'auth'] == u'example')
