Skip to content

Commit e9b82e3

Browse files
committed
Tastypie 0.14.0 does not support the callback parameter as earlier; disable the tests for this as we don't use it anyway.
- Legacy-Id: 13764
1 parent 69ba238 commit e9b82e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/api/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ def test_all_model_resources_exist(self):
9494
client = Client(Accept='application/json')
9595
r = client.get("/api/v1")
9696
top = json.loads(r.content)
97-
self._assertCallbackReturnsSameJSON("/api/v1", top)
97+
#self._assertCallbackReturnsSameJSON("/api/v1", top)
9898
for name in self.apps:
9999
app_name = self.apps[name]
100100
app = import_module(app_name)
101101
self.assertEqual("/api/v1/%s/"%name, top[name]["list_endpoint"])
102102
r = client.get(top[name]["list_endpoint"])
103103
self.assertValidJSONResponse(r)
104104
app_resources = json.loads(r.content)
105-
self._assertCallbackReturnsSameJSON("/api/v1/%s/"%name, app_resources)
105+
#self._assertCallbackReturnsSameJSON("/api/v1/%s/"%name, app_resources)
106106
#
107107
model_list = apps.get_app_config(name).get_models()
108108
for model in model_list:

0 commit comments

Comments
 (0)