SIENTIAPDE-1222
Enhance test cases for server configuration in test_formatters.py and test_orchestrator_functions.py - Added optional fields for certificate paths in the test cases to align with recent changes in server configuration, improving test coverage and ensuring proper handling of security configurations.
This commit is contained in:
@@ -239,6 +239,9 @@ async def test_process_slots(mock_build_tag_config, mock_gather_read_tags, forma
|
||||
"url": "test_url",
|
||||
"server_uri": "test_uri",
|
||||
"test_name": "test_spec",
|
||||
"cert_path": None,
|
||||
"private_key_path": None,
|
||||
"server_cert_path": None,
|
||||
"tags": {
|
||||
"test_tag_address": {
|
||||
"server_id": "1",
|
||||
@@ -253,6 +256,9 @@ async def test_process_slots(mock_build_tag_config, mock_gather_read_tags, forma
|
||||
"name": "test_server_name2",
|
||||
"url": "test_url2",
|
||||
"server_uri": "test_uri2",
|
||||
"cert_path": None,
|
||||
"private_key_path": None,
|
||||
"server_cert_path": None,
|
||||
"tags": {
|
||||
"test_tag_address2": {
|
||||
"server_id": "2",
|
||||
@@ -269,6 +275,9 @@ async def test_process_slots(mock_build_tag_config, mock_gather_read_tags, forma
|
||||
"name": "test_server_name2",
|
||||
"url": "test_url2",
|
||||
"server_uri": "test_uri2",
|
||||
"cert_path": None,
|
||||
"private_key_path": None,
|
||||
"server_cert_path": None,
|
||||
"tags": {
|
||||
"test_tag_address3": {
|
||||
"server_id": "2",
|
||||
|
||||
@@ -386,6 +386,9 @@ def test_build_tag_config():
|
||||
"name": "test_server_name",
|
||||
"url": "test_url",
|
||||
"server_uri": "test_uri",
|
||||
"cert_path": None,
|
||||
"private_key_path": None,
|
||||
"server_cert_path": None,
|
||||
"tags": {
|
||||
"test_tag_address": {
|
||||
"server_id": "1",
|
||||
|
||||
Reference in New Issue
Block a user