Using the ViewTestBase.enable_routes in API tests causes the test_homeview to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charmworld |
Triaged
|
Low
|
Unassigned |
Bug Description
=======
FAIL: Make sure the home view renders correctly.
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: Cache-Control header not found.
-------
But only because of the tests in the api that enable routes. Comment out those tests and all passes. Move those tests until after the test_homeview and everything passes. Guilty code is in the tests:
def _setup_
Changed in charmworld: | |
status: | New → Triaged |
importance: | Undecided → Low |