Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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

…on a new request.
  • Loading branch information...
1 parent 1ba6c1f commit ed06cad2a37dcbd46d3612bdfb87901776733b6e @markotibold markotibold committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  fiber/
2  fiber/
@@ -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,], view.get_fiber_current_pages())

0 comments on commit ed06cad

Please sign in to comment.
Something went wrong with that request. Please try again.