Commit Graph
13 Commits
Author SHA1 Message Date
jozh2008 3a2938198f set require_admin to false in tool_data 2023-12-11 13:29:01 +01:00
John Davis 9eb1b1b98d Replace "unknown" str with a constant across code base 2023-06-08 17:14:24 -04:00
Nicola Soranzo 0391cd4b62 Rename FooBarTestCase test classes as TestFooBar in API, framework, performance, Selenium and ToolShed tests
These are collected by pytest only because they are `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

Also:
- Some type annotations
2022-10-15 17:54:31 +01:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
Dannon Baker 22e7601653 First pass fstring conversion 2021-05-11 13:47:00 -04:00
davelopez c11eca20d6 Move test_delete_entry to integration tests 2021-01-20 13:21:57 +01:00
davelopez 4cb2f1820c Update test_delete_entry to reduce mutability of config files
Delete the last entry intead of the first one (the original). This should reduce the mutation probability of the server config files.
2021-01-20 11:30:42 +01:00
John Chilton 22aad6e817 Allow execution of tool data deletion test case.
It ultimately needs to be an integration test since it modifies files under git control as is, but it can be hacked around for now to test this functionality.

GALAXY_TEST_INCLUDE_API_CONFIG_MOD_TESTS=1 pytest -s lib/galaxy_test/api/test_tool_data.py::AdminToolDataApiTestCase
2021-01-19 19:30:46 +01:00
davelopez 712e305dc5 Add tests for delete errors 2021-01-19 12:56:01 +01:00
davelopez 5151c30c80 Add 404 test for download file 2021-01-18 17:20:14 +01:00
davelopez 3a5e3d9b4d Add more tests
Additional tests to check 404 errors and reload endpoint
2021-01-18 17:18:45 +01:00
Dannon Baker e2461e5c5b Remainder of py3-only feature updates. 2020-06-26 08:26:00 -04:00
John Chilton d04c020747 Migrate api tests into lib/galaxy_test for packaging. 2019-11-12 09:05:08 -05:00