Nicola Soranzo
|
e975ca3754
|
Update to black 2024 stable style
|
2024-01-30 18:09:51 +00:00 |
|
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
|
f3b04b8f26
|
Remove `unittest.main()` calls
|
2022-09-21 23:50:05 +01:00 |
|
Nicola Soranzo
|
b5c7e2c86a
|
Replace `self.assert* method calls with plain asserts in test/`
using https://github.com/pytest-dev/unittest2pytest with the following command:
```
unittest2pytest -f self_assert -w -n test/
```
(excluding ``self.assertRaises*`` method calls).
|
2022-09-21 23:50:05 +01:00 |
|
Nicola Soranzo
|
14b1730eb2
|
Combine "as" imports with other "from" imports
|
2022-06-20 20:06:30 +01:00 |
|
Dannon Baker
|
623a5e165a
|
Apply black formatting.
Apply isort.
|
2022-02-03 07:42:20 -05:00 |
|
John Chilton
|
7006e2a7e5
|
More unit test fixes.
|
2021-10-08 11:04:00 -04:00 |
|
John Chilton
|
fe0c4ab4e2
|
Migrate more unit tests into galaxy-app's test suite.
|
2021-10-07 11:05:03 -04:00 |
|