check-patroni/tests
Denis Laxalde ea92809cb3 Introduce a 'runner' test fixture
Instead of defining the CliRunner value in each test, we use a fixture.
The CliRunner is also configured with stdout and stderr separated
because mixing them will pose problem if we use stderr for other
purposes in tests, e.g. to emit log messages from a forth-coming HTTP
server.
2023-10-03 09:54:13 +02:00
..
json Add a node_is_leader service to check for the leader states 2023-08-23 18:22:49 +02:00
__init__.py Use isort to automatically sort imports 2023-03-20 14:56:11 +01:00
conftest.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_api.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_config_has_changed.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_has_leader.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_has_replica.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_has_scheduled_action.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_is_in_maintenance.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_cluster_node_count.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_alive.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_leader.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_pending_restart.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_primary.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_is_replica.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_patroni_version.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
test_node_tl_has_changed.py Introduce a 'runner' test fixture 2023-10-03 09:54:13 +02:00
tools.py Set a default value to status parameter of my_mock in tests 2023-10-03 09:54:13 +02:00