Commit Graph
9 Commits
Author SHA1 Message Date
davelopez c416ef41ad Move STS unit tests to test/unit/app
Temporarily until we create its own package.
2023-11-30 17:01:29 +01:00
davelopez 6f2b4ff559 Move short_term_storage related classes to its own path
The ShortTermStorageManager and related classes should live in their own package eventually and not within galaxy.web nor galaxy.managers as the short term storage microservices it's fairly independent and has way less dependencies than those other packages.
2023-11-30 17:01:29 +01:00
davelopez d33bd688cd Move short_term_storage related classes to managers
The ShortTermStorageManager is a manager and makes sense to have it live under galaxy.managers instead of galaxy.web.

It will also help reduce the dependency of the manager modules on web related stuff.
2023-11-30 16:42:04 +01:00
davelopez e460fb5f8d Add unit test for STS metadata lost 2023-03-07 11:56:15 +01:00
davelopez efcf76e3b5 Return 404 when target expires or doesn't exists 2022-12-02 09:57:29 +01:00
Nicola Soranzo 15ba0f8747 Fix warning in pytest collection
Fix:

```
test/unit/web_framework/framework/test_framework_base.py:4
  /home/runner/work/galaxy/galaxy/galaxy root/test/unit/web_framework/framework/test_framework_base.py:4: PytestCollectionWarning: cannot collect test class 'TestWebapp' because it has a __init__ constructor
    class TestWebapp(WebApplication):
```

Also:
- Use f-string.
- Simplify code using assert.
2022-05-12 16:38:15 +01:00
John Chilton 800d49c467 Short term storage infrastructure. 2022-04-13 09:52:51 -04:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
John Chilton 1e09b7775a Move test/unit/web -> test/unit/web_framework 2020-07-06 11:22:28 -04:00