@@ -1147,7 +1147,7 @@ def test_post_dbs_info_all_params(self):
1147
1147
"""
1148
1148
# Set up mock
1149
1149
url = preprocess_url('/_dbs_info')
1150
- mock_response = '[{"error": "error", "info": {"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}, "key": "key"}]'
1150
+ mock_response = '[{"error": "error", "info": {"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "instance_start_time": "instance_start_time", " props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}, "key": "key"}]'
1151
1151
responses.add(
1152
1152
responses.POST,
1153
1153
url,
@@ -1192,7 +1192,7 @@ def test_post_dbs_info_value_error(self):
1192
1192
"""
1193
1193
# Set up mock
1194
1194
url = preprocess_url('/_dbs_info')
1195
- mock_response = '[{"error": "error", "info": {"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}, "key": "key"}]'
1195
+ mock_response = '[{"error": "error", "info": {"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "instance_start_time": "instance_start_time", " props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}, "key": "key"}]'
1196
1196
responses.add(
1197
1197
responses.POST,
1198
1198
url,
@@ -1316,7 +1316,7 @@ def test_get_database_information_all_params(self):
1316
1316
"""
1317
1317
# Set up mock
1318
1318
url = preprocess_url('/testString')
1319
- mock_response = '{"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}'
1319
+ mock_response = '{"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "instance_start_time": "instance_start_time", " props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}'
1320
1320
responses.add(
1321
1321
responses.GET,
1322
1322
url,
@@ -1354,7 +1354,7 @@ def test_get_database_information_value_error(self):
1354
1354
"""
1355
1355
# Set up mock
1356
1356
url = preprocess_url('/testString')
1357
- mock_response = '{"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}'
1357
+ mock_response = '{"cluster": {"n": 3, "q": 1, "r": 1, "w": 1}, "committed_update_seq": "committed_update_seq", "compact_running": false, "compacted_seq": "compacted_seq", "db_name": "db_name", "disk_format_version": 19, "doc_count": 0, "doc_del_count": 0, "engine": "engine", "instance_start_time": "instance_start_time", " props": {"partitioned": false}, "sizes": {"active": 6, "external": 8, "file": 4}, "update_seq": "update_seq", "uuid": "uuid", "partitioned_indexes": {"count": 0, "indexes": {"search": 0, "view": 0}, "limit": 10}}'
1358
1358
responses.add(
1359
1359
responses.GET,
1360
1360
url,
@@ -14365,6 +14365,7 @@ def test_database_information_serialization(self):
14365
14365
database_information_model_json['doc_count'] = 0
14366
14366
database_information_model_json['doc_del_count'] = 0
14367
14367
database_information_model_json['engine'] = 'testString'
14368
+ database_information_model_json['instance_start_time'] = 'testString'
14368
14369
database_information_model_json['props'] = database_information_props_model
14369
14370
database_information_model_json['sizes'] = content_information_sizes_model
14370
14371
database_information_model_json['update_seq'] = 'testString'
@@ -14565,6 +14566,7 @@ def test_dbs_info_result_serialization(self):
14565
14566
database_information_model['doc_count'] = 0
14566
14567
database_information_model['doc_del_count'] = 0
14567
14568
database_information_model['engine'] = 'testString'
14569
+ database_information_model['instance_start_time'] = 'testString'
14568
14570
database_information_model['props'] = database_information_props_model
14569
14571
database_information_model['sizes'] = content_information_sizes_model
14570
14572
database_information_model['update_seq'] = 'testString'
0 commit comments