with self.assertRaises(ValueError):
        django.configure_from_settings()