commit/galaxy-central: davebgx: Clean up twilltestcase.py, fix functional tests for tools with spaces in the tool ID.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c0af07ce3b0b/ Changeset: c0af07ce3b0b User: davebgx Date: 2014-05-09 15:57:26 Summary: Clean up twilltestcase.py, fix functional tests for tools with spaces in the tool ID. Affected #: 3 files diff -r f6bf49aca8da9707937ebaebbfa869d10735dc81 -r c0af07ce3b0beb686cee26428dfcc229ebe34334 test/base/interactor.py --- a/test/base/interactor.py +++ b/test/base/interactor.py @@ -474,8 +474,8 @@ .order_by( desc( galaxy.model.History.table.c.create_time ) ) \ .first() assert latest_history is not None, "Problem retrieving latest_history from database" - if len( self.twill_test_case.get_history_as_data_list() ) > 0: - raise AssertionError("ToolTestCase.do_it failed") + if len( self.twill_test_case.get_hids_in_history( self.twill_test_case.get_latest_history()[ 'id' ] ) ) > 0: + raise AssertionError("ToolTestCase.do_it failed to create a new empty history") return latest_history def delete_history( self, latest_history ): This diff is so big that we needed to truncate the remainder. 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.
participants (1)
-
commits-noreply@bitbucket.org