'Ensure the login template renders for a basic GET.
cf. [#1810](https://github.com/encode/django-rest-framework/pull/1810)'

def test_login_view_renders_on_get(self):

    response = self.csrf_client.get(u'/auth/login/')
    content = response.content.decode(u'utf8')
    assert (u'<label    for="id_username">Username:</label>' in content)
