Fixed unit test for blog notebook URL to expect redirect by notebook name, not id.
This commit is contained in:
parent
3fd6a5f941
commit
a88d5cbd23
|
@ -217,7 +217,7 @@ class Test_notebooks( Test_controller ):
|
||||||
)
|
)
|
||||||
|
|
||||||
redirect = result.get( "redirect" )
|
redirect = result.get( "redirect" )
|
||||||
assert redirect == u"/blog/%s" % self.notebook.object_id
|
assert redirect == u"/blog/%s" % self.notebook.name
|
||||||
|
|
||||||
def test_default( self ):
|
def test_default( self ):
|
||||||
self.login()
|
self.login()
|
||||||
|
|
Reference in New Issue
Block a user