def test_get_enabled_chunks_for_region_bad_models_loud_fail(self):
     blank_conf = EditRegionConfiguration()
     error = ImproperlyConfigured
     if is_django_17plus():
         error = LookupError
     with self.assertRaises(error):
         blank_conf.get_enabled_chunks_for_region({"x.Y": 1})
 def test_is_less_than_17(self):
     self.assertFalse(is_django_17plus())
 def test_is_at_least_17(self):
     self.assertTrue(is_django_17plus())