From a88d5cbd2330d0cb271a06ac18c0425926cb4d02 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 29 Jan 2009 15:17:03 -0800 Subject: [PATCH] Fixed unit test for blog notebook URL to expect redirect by notebook name, not id. --- controller/test/Test_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/test/Test_notebooks.py b/controller/test/Test_notebooks.py index 15f7d8d..b4d074a 100644 --- a/controller/test/Test_notebooks.py +++ b/controller/test/Test_notebooks.py @@ -217,7 +217,7 @@ class Test_notebooks( Test_controller ): ) 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 ): self.login()