Functional test fixes for my last commit.

This commit is contained in:
Greg Von Kuster
2009-08-14 10:03:15 -04:00
parent fb6e5ed8cc
commit 32eeb4496c
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@
<ul class="manage-table-actions">
%if not deleted:
<li>
<a class="action-button" href="${h.url_for( controller='admin', action='library', new=True )}"><span>Create a new library</span></a>
<a class="action-button" href="${h.url_for( controller='admin', action='library', new=True )}"><span>Create a new data library</span></a>
</li>
<li>
<a class="action-button" href="${h.url_for( controller='admin', action='deleted_libraries' )}"><span>Manage deleted libraries</span></a>
+1 -1
View File
@@ -1003,7 +1003,7 @@ class TwillTestCase( unittest.TestCase ):
"""Create a new library"""
self.home()
self.visit_url( "%s/admin/library?new=True" % self.url )
self.check_page_for_string( 'Create a new library' )
self.check_page_for_string( 'Create a new data library' )
tc.fv( "1", "1", name ) # form field 1 is the field named name...
tc.fv( "1", "2", description ) # form field 1 is the field named name...
tc.submit( "create_library_button" )