'Missing templates are correctly reported by test client'

def test_no_404_template(self):

    try:
        response = self.client.get('/no_such_view/')
        self.fail('Should    get    error    about    missing    template')
    except TemplateDoesNotExist:
        pass
