Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix erroneous test by re-instantiating the view as Django would do up…

…on a new request.
  • Loading branch information...
commit ed06cad2a37dcbd46d3612bdfb87901776733b6e 1 parent 1ba6c1f
Marko Tibold markotibold authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  fiber/tests.py
2  fiber/tests.py
View
@@ -608,11 +608,11 @@ def get_fiber_page_url(self): # FiberPageMixin requires this method
return self.url
view = TestView()
-
view.url = 'aa'
# There should be no root node, but we do want a page; aa
self.assertEqual([self.aa], view.get_fiber_current_pages())
+ view = TestView()
view.url = 'aaa'
# again no root node but we do want to pages; aa -> aaa
self.assertEqual([self.aa, self.aaa], view.get_fiber_current_pages())
Please sign in to comment.
Something went wrong with that request. Please try again.