'If the urls.py doesn\'t specify handlers, the defaults are used'

def test_default_handler(self):

    try:
        response = self.client.get('/test/')
        self.assertEqual(response.status_code, 404)
    except AttributeError:
        self.fail("Shouldn't    get    an    AttributeError    due    to    undefined    404    handler")
    try:
        self.assertRaises(ValueError, self.client.get, '/bad_view/')
    except AttributeError:
        self.fail("Shouldn't    get    an    AttributeError    due    to    undefined    500    handler")
