Commit Graph
204 Commits
Author SHA1 Message Date
mvdbeek a351bd1ce9 Merge branch 'release_22.05' into dev 2022-08-09 15:12:15 +02:00
John Davis def882932d Add verify_db_is_initialized function; tests 2022-07-13 16:10:58 -04:00
John Davis 1e75d85fd4 Prevent accessing LegacyScripts.database before processing script args 2022-07-13 15:40:42 -04:00
Nicola Soranzo d8f123f647 Code cleanups from pyupgrade
Found by running:

```
ack --type=python -f | grep -v '^tools/' | xargs pyupgrade --py37-plus
```
2022-07-12 13:40:36 +01:00
John Davis 1f3849bd1f Rename test 2022-07-08 13:41:40 -04:00
Nicola Soranzo cdaa23cea6 Merge branch 'release_22.05' into dev 2022-07-06 11:47:54 +01:00
Evan Bolyen 184f0d8eaf TST: fix qiime2.tabular auto-upload test 2022-07-05 09:43:30 -07:00
Evan Bolyen 9c06e232e1 lint: make format is neat 2022-07-05 09:43:30 -07:00
Evan Bolyen 88fed0ffff TST: added more tests 2022-07-05 09:43:30 -07:00
Oddant1 38b1bfc417 QIIME 2: Strip properties from semantic types (#2) 2022-07-05 09:43:30 -07:00
Nicola Soranzo 14b1730eb2 Combine "as" imports with other "from" imports 2022-06-20 20:06:30 +01:00
Nate Coraor a9047f848d Fix overlapping method/var name in domain validation 2022-06-16 21:09:59 -04:00
Sergey Golitsynskiy bf91dc5b75 Remove column update_time from model, tests 2022-06-01 18:30:30 -04:00
Nate Coraor 1f299a5cbf Test with quoted @ in local part of email (technically valid but we're
not allowing it)
2022-05-26 15:05:30 -04:00
Nate Coraor d1e79e0441 Test split without @ 2022-05-26 15:05:30 -04:00
Nate Coraor 37edbaf74c Trim spaces from around email addresses and usernames when registering.
Additionally, include a stricter email address validation.
2022-05-26 14:55:27 -04:00
John Chilton c5bf63bc91 Add DEFERRED datasets to Galaxy
- Improves options and display around discarded datasets.
- Adds new APIs for importing model stores.
- Adds support to model store layer for importing/exporting workflow invocations and APIs and tests to support this.
- Add new DEFERRED dataset state - with APIs for materializing them or the option to defer them on the worker node if using tool_evaluation_strategy=remote on the job destination.
- UI and API options for uploading deferred datasets individually or into collections.
2022-05-23 19:48:47 -04:00
Sergey Golitsynskiy 34e8b182d4 Map Dataset declaratively 2022-04-29 13:37:32 -04:00
Sergey Golitsynskiy cc1c2e4b94 Enable postgresql testing for new annotations module 2022-04-20 22:16:40 -04:00
Sergey Golitsynskiy e9eb6c1500 Proof of concept: replace annotation mapping tests 2022-04-20 18:14:43 -04:00
Sergey Golitsynskiy 254830a33b Add fixture for WorkflowStepAnnotationAssociation 2022-04-20 17:48:37 -04:00
Sergey Golitsynskiy ed2798e044 Fix module path for remote unit tests 2022-04-20 17:03:03 -04:00
Sergey Golitsynskiy 52bb6c90e6 Fix linting 2022-04-20 16:23:05 -04:00
Sergey Golitsynskiy 95a4fd5667 Use plugins instead of importing fixtures directly
Also handle setting the fully qualified module name depending on wht's
the cwd from which the test is executed.
2022-04-20 15:50:52 -04:00
Sergey Golitsynskiy c9e3d340f6 Move tmp_dir fixture one level up
Otherwise url_factory is not usable outside of migrations
2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 1228bfa769 Refactor code for dropping postgres 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 495dd6daaf Move last context managers out of migrations 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy c3059de4a5 Move disposing_engine out of migrations 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy eec0a87028 Move url_factory out of migrations
Make available for use in other testing contexts.
2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 476da34b7a Move test revisions into testing_utils 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy f5c962d8d7 Move common.py to testing_utils 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy d2ecb7ee68 Fix linting (unused import) 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 0a7d2113bd Factor out helper function (kill more dups) 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 9ae2d4e08f Simplify (no need for scoped_session), consolidate redundant fixtures 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 1a95857271 Rename test modules for testing_utils 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 9e4cb1176c Fix linting errors 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 7278126dd6 Move model testing utils into designated dir 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy de4498c3c3 Factor out model fixtures, adjust tests 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy a037b22f6e Move mapping testing utils into designated dir 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 90288acaf0 Distribute tests following prev. commit, fix imports 2022-04-20 10:28:03 -04:00
Sergey Golitsynskiy 0a4610c74d Split model test utils into common and mapping-specific 2022-04-20 10:28:03 -04:00
Nicola Soranzo f24e3863d7 Better test for kombu-only tables in database
Fix https://github.com/galaxyproject/galaxy/issues/13689 .
2022-04-11 14:09:41 +01:00
Marius van den Beek a6cbabc829 Merge pull request #13700 from ic4f/dev_alembic6
Treat db with kombu tables same as empty; adjust tests
2022-04-10 18:34:04 +02:00
Sergey Golitsynskiy 6547d2608a Don't create/drop the same db twice 2022-04-09 18:27:52 -04:00
Sergey Golitsynskiy 11e5418d21 Treat db with kombu tables as empty; adjust tests 2022-04-08 14:55:58 -04:00
Sergey Golitsynskiy 40179f6825 Fix bug in tests: version should be outdated, not empty 2022-04-08 12:57:39 -04:00
John Chilton 96f55574b4 Disable implicitly attaching HDAs to histories.
This is bad and we should be explicit about it... if we want it to happen gotta make sure it has an HID and such.
2022-04-06 11:36:47 -04:00
Nicola Soranzo d11bbf219d Update mypy to 0.942 . Fix new mypy errors.
Remove unused `optional()` decorator function that had an annotation issue.
2022-03-31 18:47:52 +01:00
John Chilton 4e01cfe3eb Merge pull request #13562 from ic4f/dev_sa20_3
Misc. SQLAlchemy 2.0 upgrades
2022-03-20 18:37:17 -04:00
Nicola Soranzo 00f7522e7e Merge branch 'release_22.01' into dev 2022-03-19 01:57:33 +00:00