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
|
7646d9eb7b
|
Workaround for abstract test classes
|
2022-09-27 03:34:56 +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
|
26c41bb684
|
Fix B024 flake8-bugbear errors
|
2022-08-27 20:19:17 +01:00 |
|
Dannon Baker
|
623a5e165a
|
Apply black formatting.
Apply isort.
|
2022-02-03 07:42:20 -05:00 |
|
 Nuwan GoonasekeraandEnis Afgan
|
d4fe61a424
|
Update vault docs
Co-authored-by: Enis Afgan <afgane@gmail.com>
|
2021-12-20 18:40:20 +05:30 |
|
Nuwan Goonasekera
|
7328ca0da9
|
Renamed vault migration script and some minor test fixes
|
2021-12-02 00:36:35 +05:30 |
|
Nuwan Goonasekera
|
2bc7bb45cf
|
Added validation and prefixing decorators to vault
|
2021-12-01 07:00:18 +05:30 |
|
Nuwan Goonasekera
|
8c6c1b6a21
|
Validate vault keys
|
2021-12-01 06:25:30 +05:30 |
|
Nuwan Goonasekera
|
07779aa38f
|
Use GalaxyDataTestApp in Vault tests instead of MockApp
|
2021-11-28 12:39:56 +05:30 |
|
Nuwan Goonasekera
|
d04b56bb32
|
Added vault model mapping test and some minor refactoring
|
2021-11-28 12:11:05 +05:30 |
|
Nuwan Goonasekera
|
569db6b465
|
Make vault tests conditional
|
2021-11-27 20:51:36 +05:30 |
|
Nuwan Goonasekera
|
062618bd2e
|
Fix typing errors in vault
|
2021-11-23 23:22:38 +05:30 |
|
Nuwan Goonasekera
|
0572f62075
|
Fix vault linting errors
|
2021-11-22 01:21:00 +05:30 |
|
Nuwan Goonasekera
|
bf248f7d1c
|
Rename VaultFactory.from_app_config to from_app
|
2021-11-20 17:58:52 +05:30 |
|
Nuwan Goonasekera
|
4695dc8a7a
|
Further simplify vault interface to be string key value pairs
|
2021-11-18 23:56:22 +05:30 |
|
Nuwan Goonasekera
|
5fcfb00d66
|
Add initial custos vault backend
|
2021-11-18 23:25:24 +05:30 |
|
Nuwan Goonasekera
|
a05f3c2813
|
Add test for secret overwrites
|
2021-11-18 19:23:48 +05:30 |
|
Nuwan Goonasekera
|
f207b23626
|
Add database based vault implementation
|
2021-11-18 01:12:20 +05:30 |
|
Nuwan Goonasekera
|
1a26b450fc
|
Add initial implementation and tests for hashicorp vault
|
2021-11-18 01:12:14 +05:30 |
|
Nuwan Goonasekera
|
43fbc360e7
|
Add interface definitions and test case for abstract vault
|
2021-11-18 01:12:01 +05:30 |
|
John Chilton
|
b7c1b03251
|
Refactor more unit tests into the galaxy-data package.
|
2020-07-07 13:44:32 -04:00 |
|
Sergey Golitsynskiy
|
d590987632
|
Refactor extracting email address domain
Allow extraction of full domain vs. base domain only.
Add unit tests.
|
2020-07-02 03:05:45 -04:00 |
|