'Test the 404 view.'

def test_404(self):

    url = reverse('static_template_view.views.render_404')
    resp = self.client.get(url)
    self.assertEqual(resp.status_code, 200)
    self.assertEqual(resp['Content-Type'], 'text/html')
    resp = self.client.get(url)
    self.assertContains(resp, settings.TECH_SUPPORT_EMAIL)
