Commit Graph
39 Commits
Author SHA1 Message Date
Dave Bouvier f51266409c Fixes for test scripts 1010, 1080, 1400, and 1460. 2013-12-17 15:54:55 -05:00
Dave Bouvier 1abe7978d3 Remove debugging code. 2013-12-13 23:23:32 -05:00
Dave Bouvier d4e4697a21 Update functional tests to account for the changes to when repositories can be uninstalled. Add tool panel section to tool API return value. Move test_db_util import to twilltestcase. Update tool test metadata generation. 2013-12-13 23:07:07 -05:00
Daniel Blankenberg 3ade95a39b Add ToolShed Functional Tests for Data Managers. 2013-12-06 13:24:29 -05:00
John Chilton 42dc433376 Models: Allow setting install database target when running tool shed functional tests. 2013-12-05 00:20:54 -06:00
John Chilton 5984bbe10c Models: Introduce app.install_model.
All references to galaxy.model.tool_shed_install models should go through this instance. Right now it is a reference to the same ModelMapping instance, but the goal is to allow them to be two different mappings.
2013-12-05 00:20:54 -06:00
John Chilton 79c8f59341 Models: Introduce real class for app.model (ModelMapping).
Shared across Tool Shed and Galaxy to reduce code duplication. Previously this was just a bunch, making it a real class allows placing some shared logic in there.

This refactoring also eliminates some global variables galaxy.model.mapping.Session, galaxy.model.mapping.context, and same for tool shed. This may break things, but these are things that should probably be fixed anyway.

In particular small changes to db_shell.py and a unit test that depended on these global variables have been updated. The functional test frameworks likewise needed to be updated to not depend on these - these changes were more substantial.

To fix these functional tests, I essentially replace old references to global variables in Galaxy with references to global variables just defined in the test framework in test/functional/database_contexts.py (a slight improvement).
2013-12-05 00:20:54 -06:00
John Chilton d676d5c27b Mimic Galaxy functional test handling of GALAXY_TEST_DB_TEMPLATE for tool shed functional tests.
See 83a95ea606d9fcd15f7554b71804625e203eb1ed for full details (essentially GALAXY_TEST_DB_TEMPLATE can be sqlite file path or URL - will be copied over so original left in pristine state and auto upgraded as needed.
2013-11-27 08:37:30 -06:00
Dave Bouvier ea57221f12 Functional tests for importing and exporting repositories. 2013-11-25 13:02:09 -05:00
Dave Bouvier 06e959f8b1 Update functional tests to reflect changes in HTML output. Add the ability to browse a running test instance of Galaxy or the tool shed with styles and javascript enabled. 2013-09-24 09:21:41 -04:00
Dave Bouvier 3a55b4aaab Functional tests for automatically determining the target changeset revision in repository dependencies. 2013-05-17 16:42:48 -04:00
Dannon Baker c2e9c572fe Fix (hack) for a suspected circular import preventing tool shed functional tests from running in some environments 2013-05-02 12:51:50 -04:00
Dannon Baker 1c14b4a4a7 Fix toolshed functional tests to not use 'pool_size' with sqlite 2013-05-02 10:45:44 -04:00
Dave Bouvier 9dbf1f4abb Tool shed functional test enhancements. Tests for 8-bit ASCII characters displayed in repository files. Tests for using the mercurial API to simulate a command line push. Tests for deleting tool dependencies. 2013-04-05 11:18:39 -04:00
Greg Von Kuster ae39ab8f2b Rename community_wsgi.ini.sample to be tool_shed_wsgi.ini.sample, run_community.sh to run_tool_shed.sh, and fix references to these files in the code. 2013-03-18 10:24:03 -04:00
Dave Bouvier 9d4598deb0 Add repository counts to install and test repository summary output. Add functional tests for repositories with datatype converters. Add functional tests for browsing Galaxy utilities. Add functional tests for the Galaxy update manager. Enhance functional tests to verify behavior when a repository is deleted. Change code style to be compliant with Galaxy team standards. 2013-03-13 12:48:55 -04:00
Greg Von Kuster f539d3071b Change the name and path of the community webapp to be tool_shed. 2013-02-27 16:23:19 -05:00
Dave Bouvier e5ecb33767 Tool shed functional test enhancement, made the grant_write_access method more robust, added functional test for contacting a repository's owner. 2013-02-20 14:33:04 -05:00
Greg Von Kuster 35444f1daa Uncomment temporary file cleanup block in tool shed functiona tests. 2013-02-04 15:22:53 -05:00
Dave Bouvier e34bc17457 Tool shed functional tests for complex repository dependencies, detection and setting of metadata for invalid repository dependencies. Fixes for detecting and displaying invalid repository dependencies. 2013-02-04 11:51:42 -05:00
Dave Bouvier aee8516c04 Uncommented cleanup method in functional_tests.py. 2013-02-01 11:43:40 -05:00
Dave Bouvier c11ea0e2ec Tool shed functional tests for complex repository dependencies. Tool shed functional tests for reserved strings in repository and user names. Tool shed functional test enhancements. 2013-02-01 11:42:18 -05:00
Dave Bouvier e0a308f22c Pass in a temporary file as migrated_tools_conf, so repositories without tools end up in the right location. 2013-01-30 14:57:16 -05:00
Dave Bouvier 8a47721a5a Tool shed functional tests for automated installation, reinstallation, and reactivation of repository dependencies. Enhancements to tool shed functional test framework. 2013-01-11 17:02:42 -05:00
Dave Bouvier 865f00b6c9 Tool shed functional test enhancements - circular repository dependencies, tool panel sections. 2013-01-09 09:52:46 -05:00
Dave Bouvier f6e343d385 Tool shed functional test enhancements. Functional tests for uninstalling, deactivating, reinstalling, and reactivating installed repositories. 2012-12-21 12:47:30 -05:00
Dave Bouvier 35471d28e7 Make functional tests explicitly specify which shed tool config to use. 2012-12-21 10:33:18 -05:00
Dave Bouvier 2112bb7288 Fix for installing tool shed repository when tool_dependency_dir is not set. Toll shed functional test enhancements. 2012-12-18 14:48:14 -05:00
Dave Bouvier de45c8e7ad More tool shed functional test enhancements. 2012-12-14 16:20:22 -05:00
Greg Von Kuster fb5a0b2392 Don't munge the Galaxy root's tool_data_table_conf.sml file or the shed_tool_data_table_conf.xml file when running tool shed functional tests. 2012-12-14 10:59:53 -05:00
Dave Bouvier 1d12ce3899 Functional tests for repositories with workflows. 2012-12-14 09:38:23 -05:00
Dave Bouvier 1b15174304 Added functional tests to verify repository installation on the Galaxy side. 2012-12-12 16:56:14 -05:00
Dave Bouvier 54fc9ff1d5 Functional tests for n levels of circular repository dependencies. 2012-12-11 14:29:28 -05:00
Dave Bouvier 97614e1374 More tool shed functional test enhancements. 2012-12-10 14:41:14 -05:00
Greg Von Kuster 2faaca67d7 More enhancements for hte tool shed functional test framework. 2012-11-29 14:39:31 -05:00
Dave Bouvier 5ba52bb7da Fixed functional test script creating stray directories in galaxy root. 2012-11-29 13:06:02 -05:00
Greg Von Kuster b7e8de8037 Fixes for tool shed functional tests. 2012-11-29 12:42:04 -05:00
Dave Bouvier b9fc04f3d5 Added more functional tests for basic tool shed repository features. 2012-11-28 15:21:23 -05:00
Greg Von Kuster 1149e08ef7 Add the framework components to enable creating a functional test framework for the tool shed. 2012-11-13 13:49:09 -05:00