Denis Laxalde
bc2d2917c3
Introduce a fake_restapi test fixture
...
This fixture itself uses the 'use_old_replica_state' fixture, so that
it's no longer needed to use it explicitly in test functions.
2023-10-03 09:54:13 +02:00
Denis Laxalde
c3cdb8cdd4
Set a default value to status parameter of my_mock in tests
...
Most of the times, it's 200, so the default value simplifies usage in
actual tests.
2023-10-03 09:54:13 +02:00
benoit
d99faeba15
Add tests for the output of the script and support pre/post 3.0.4
...
* Change all replica status from `running` to `streaming`
* Add an option to pytest to change the state back to `running`
* Also tests the output of the script
* Add a quick test script for live clusters
2023-08-23 10:53:09 +02:00
benoit
df744bf7dc
Use isort to automatically sort imports
2023-03-20 14:56:11 +01:00
benoit
7256c1894a
Fix tests for the urllib3 to requests change
2023-03-20 12:25:32 +01:00
benoit
8519416c11
Rename test to tests
2022-07-11 12:42:59 +02:00