Commit Graph
63090 Commits
Author SHA1 Message Date
Nicola Soranzo c35d8f2a06 Replace `unittest.TestCase` with pytest-based partial re-implementation
Also:
- Rename `FooBarTestCase` test classes as `TestFooBar`. These were collected
  by pytest only because they were `unittest.TestCase` derived, but normally
  pytest collects only test classes whose name starts with `Test`, see
  https://docs.pytest.org/en/7.1.x/reference/reference.html#confval-python_classes
2022-09-27 03:34:58 +01:00
Nicola Soranzo 215beecece Replace conditional `self.fail()` method calls with asserts 2022-09-27 03:34:57 +01:00
Nicola Soranzo 7646d9eb7b Workaround for abstract test classes 2022-09-27 03:34:56 +01:00
Nicola Soranzo 30d8d2ba66 Remove unused function 2022-09-27 03:34:56 +01:00
Nicola Soranzo 3091737ab9 Misc test fixes 2022-09-27 03:34:55 +01:00
Nicola Soranzo 49f714f245 Drop broken way to run doctests
We already run them with: `pytest --doctest-modules` .
2022-09-27 03:34:55 +01:00
Nicola Soranzo 7f03d51c17 Document how to profile memory use in tests 2022-09-27 03:34:55 +01:00
Marius van den Beek 955815ca11 Merge pull request #14688 from mvdbeek/dev
Merge 22.05 into dev
2022-09-26 15:19:53 +02:00
mvdbeek cbd38554f1 Merge branch 'release_22.05' into dev 2022-09-26 15:15:19 +02:00
Aysam Guerler 4274683543 Merge pull request #14529 from hujambo-dunia/frontend-tool-search-bug-fix
Frontend tool search bug fix
2022-09-26 01:27:41 -04:00
guerler 4fd78e285d Remove empty lines, fix test variables 2022-09-25 21:15:35 -04:00
John Chilton 156977f65a Merge pull request #14691 from jmchilton/tool_util_testing_3
More typing and unit testing for tool test verification functions
2022-09-24 08:41:04 -04:00
Nicola Soranzo 65d1183b95 Merge pull request #14696 from galaxybot/dev_auto_update_dependencies
Update Python dependencies
2022-09-24 08:31:00 +01:00
galaxybot 24b32f226a Update Python dependencies 2022-09-24 04:04:20 +00:00
Björn Grüning e4636cead0 Merge pull request #14682 from jmchilton/galaxy_install_typing
More typing for tool shed install and relevant utility code.
2022-09-23 21:56:06 +02:00
hujambo-dunia 5e919c71bb Move to ToolBox suit 2022-09-23 14:02:30 -04:00
hujambo-dunia f50aa94973 Reversal of class structure in favor of function module structure. Test script consolidation. 2022-09-23 13:26:40 -04:00
hujambo-dunia e8e393b7ae Reversal of class structure in favor of function module structure. Test script consolidation. 2022-09-23 13:09:51 -04:00
John Chilton fc491434ab Merge pull request #14673 from natefoo/container-monitor-relocate
Packaging and configurability for the container monitor script
2022-09-23 09:17:23 -04:00
John Chilton 550d29493f Merge pull request #14683 from mvdbeek/type_annotation_workflow_run
Add type hints for galaxy.workflow.{run, run_request}
2022-09-23 09:14:46 -04:00
John Chilton 19aba1807e Initial unit test for copying test data. 2022-09-23 09:11:40 -04:00
John Chilton 2684cdb908 Refactor mock tool test interactor for reuse. 2022-09-23 09:06:15 -04:00
John Chilton 42134f4c82 Typing improvements for galaxy.tool_util.verify and related code. 2022-09-23 09:06:15 -04:00
Dannon 4cdc9eb2c5 Merge pull request #14659 from itisAliRH/history-drag-and-drop
History drag and drop
2022-09-23 08:59:40 -04:00
mvdbeek 81b2f3e1e1 Add ModuleInjector, avoids test type mismatch 2022-09-23 10:19:02 +02:00
mvdbeek 48c654d1b2 Add type hint for galaxy.workflow.{run, run_request}
Trying out https://github.com/dropbox/pyannotate here.
It's still a lot of work even with pyannotate, but I think this fixes
some minor oddities, like assigning non-mapped attributes to
WorkflowInvocation instances.
2022-09-23 09:33:47 +02:00
guerler 8efb39a723 Keep track of drag targets, avoids flickering and performance issues 2022-09-23 03:21:40 +02:00
guerler 7ad3d685c3 Simplify dropzone for now 2022-09-23 03:21:39 +02:00
guerler 6646709b55 Remove store parsing of dragged items, use handlers instead 2022-09-23 03:21:39 +02:00
Alireza Heidari 5a84d5d28e use history drop zone when dragging an item 2022-09-23 03:18:32 +02:00
Alireza Heidari b6be2b7faa Create HistoryDropZone.vue 2022-09-23 03:18:31 +02:00
Alireza Heidari 00a9471559 setDraggingHistoryItem on drag start and end events 2022-09-23 03:18:31 +02:00
Alireza Heidari fe53edcaaa add draggingHistoryItem to history store 2022-09-23 03:15:05 +02:00
Alireza Heidari 2743e04975 refactor dataset services 2022-09-23 03:15:04 +02:00
Alireza Heidari 00d832040e disable collection items drag 2022-09-23 03:15:04 +02:00
Alireza Heidari 4ca49de5e0 add drag and drop to copy datasets and collections between histories 2022-09-23 03:08:41 +02:00
Aysam Guerler 35ba809db6 Merge pull request #14660 from guerler/strip_history_from_makos
Remove legacy history from code base
2022-09-22 19:51:20 -04:00
John Chilton ace1e13da3 Merge pull request #14641 from mvdbeek/fix_optional_data_input_submission_expanded_tool_form
[22.05] Fix delayed optional data input handling
2022-09-22 18:08:58 -04:00
John Chilton 357a2ee954 Improved assertion in error in failing test. 2022-09-22 18:05:33 -04:00
John Chilton 5751a0535c A lot more typing for tool shed install and relevant utility code. 2022-09-22 17:50:44 -04:00
John Chilton 1d4801fdbf Merge pull request #14681 from jmchilton/tool_shed_cleanup_4
Tool Shed and Tool Utility Cleanup
2022-09-22 17:37:47 -04:00
John Chilton 079b5189dc Remove unused code from basic_util. 2022-09-22 11:29:19 -04:00
John Chilton 7606b81e13 Typing for toolbox parser... 2022-09-22 11:29:19 -04:00
John Chilton e27ff0e507 Move tool shed utility only used by tool shed into tool shed repository_util.
Doesn't belong in Galaxy utilities.
2022-09-22 11:29:19 -04:00
John Chilton ba9df94510 Merge pull request #14674 from nsoranzo/replace_self.assert_methods
Replace ``self.assert*()`` method calls with plain asserts
2022-09-22 11:20:29 -04:00
guerler 27efdd7c6b Fix failing selenium test 2022-09-22 10:59:29 -04:00
Marius van den Beek c682a49aef Merge pull request #14675 from mvdbeek/somewhat_valid_dynamic_class_names
Generate somewhat valid SafeStringWrapper-wrapped class names
2022-09-22 16:27:38 +02:00
John Chilton 227614ae3d Merge pull request #14668 from jmchilton/tool_util_cleanup
Cleanup tool_util.py
2022-09-22 10:23:15 -04:00
John Davis 06c9475683 Merge pull request #14537 from jdavcs/dev_managedb_cli
A replacement for manage_db.sh + rewrite of migration system documentation
2022-09-22 10:06:45 -04:00
Marius van den BeekandNicola Soranzo 71ec24ec87 Drop unnecessary list comprehension
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2022-09-22 13:13:13 +02:00