1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/9baf9d6ce3a5/
Changeset: 9baf9d6ce3a5
User: inithello
Date: 2013-03-25 14:36:02
Summary: Update tests to reflect new default for component review approval status.
Affected #: 1 file
diff -r f6743b36ce0a54e49acf06d09e03d01584d55514 -r
9baf9d6ce3a5b32e3f14ddcdee5eae85e1138257 test/tool_shed/base/twilltestcase.py
--- a/test/tool_shed/base/twilltestcase.py
+++ b/test/tool_shed/base/twilltestcase.py
@@ -454,9 +454,10 @@
def fill_review_form( self, review_contents_dict, strings_displayed=[],
strings_not_displayed=[] ):
kwd = dict()
+ changed = False
for label, contents in review_contents_dict.items():
- strings_displayed.append( label )
if contents:
+ changed = True
kwd[ '%s__ESEP__comment' % label ] = contents[ 'comment'
]
kwd[ '%s__ESEP__rating' % label ] = contents[ 'rating' ]
if 'private' in contents:
@@ -464,8 +465,10 @@
kwd[ '%s__ESEP__approved' % label ] = contents[
'approved' ]
else:
kwd[ '%s__ESEP__approved' % label ] = 'not_applicable'
+ self.check_for_strings( strings_displayed, strings_not_displayed )
self.submit_form( 1, 'Workflows__ESEP__review_button', **kwd )
- strings_displayed.append( 'Reviews were saved' )
+ if changed:
+ strings_displayed.append( 'Reviews were saved' )
self.check_for_strings( strings_displayed, strings_not_displayed )
def galaxy_login( self, email='test(a)bx.psu.edu', password='testuser',
username='admin-user', redirect='' ):
Repository URL:
https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.