Test maasserver.tests.test_api.TestNodeAPI.test_PUT_rejects_invalid_data fails with Django 1.5
Bug #1190530 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen |
Bug Description
The behavior of Django's test client w.r.t. PUT requests was changed in Django 1.5 [0]. It causes some tests to fail [1] when running tests on saucy (among which maasserver.
This quick hack fixes the problem with the test_PUT_
Note that this is affecting only the tests and that's why the integration tests on saucy pass.
[0] https:/
[1] http://
[2] http://
Related branches
lp://qastaging/~jtv/maas/bug-1190530
- Raphaël Badin (community): Approve
-
Diff: 309 lines (+56/-31)2 files modifiedsrc/maasserver/testing/testcase.py (+24/-1)
src/maasserver/tests/test_api.py (+32/-30)
tags: | added: tech-debt |
Changed in maas: | |
importance: | High → Critical |
Changed in maas: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas: | |
status: | Fix Released → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.