Browse Source

Fixed desktop core test failure.

- jframegallery pages have been relocated to jframegallery/gallery url.
bc Wong 15 years ago
parent
commit
94b63bd1f2

+ 0 - 0
apps/jframegallery/src/jframegallery/templates/html-table.keyboard.kids.html → apps/jframegallery/src/jframegallery/templates/gallery/html-table.keyboard.kids.html


+ 2 - 2
desktop/core/src/desktop/flash_messages_test.py

@@ -48,7 +48,7 @@ def message_test():
 def cross_request_flash_messages_test():
   c = make_logged_in_client()
   assert_equal(None, c.session.get('flashMessages'))
-  c.get('/jframegallery/flash.html')
+  c.get('/jframegallery/gallery/flash.html')
   assert_equal(3, len(c.session['flashMessages']))
   response = c.get('/jframegallery/', dict(format="embed"))
   assert_equal(3, len(simplejson.loads(response["X-Hue-Flash-Messages"])))
@@ -58,5 +58,5 @@ def cross_request_flash_messages_test():
   
 def missing_slash_test():
   c = make_logged_in_client()
-  response = c.get('/jframegallery')
+  response = c.get('/accounts/logout')
   assert_equal(301, response.status_code) # redirect