Commit f9fc14cb authored by David Mendez's avatar David Mendez
Browse files

Add functional test for id properties

parent 6812e56c
......@@ -6,7 +6,7 @@
import argparse
from specific_tests import fun_test_simple_query, fun_test_query_with_context, fun_test_property_config, \
fun_test_group_config, fun_test_facets_group_config, fun_test_get_document
fun_test_group_config, fun_test_facets_group_config, fun_test_get_document, fun_test_id_properties
PARSER = argparse.ArgumentParser()
PARSER.add_argument('server_base_path', help='server base path to run the tests against',
......@@ -23,7 +23,8 @@ def run():
print(f'Running functional tests on {ARGS.server_base_path}')
for test_module in [fun_test_simple_query, fun_test_query_with_context, fun_test_property_config,
fun_test_group_config, fun_test_facets_group_config, fun_test_get_document]:
fun_test_group_config, fun_test_facets_group_config, fun_test_get_document,
test_module.run_test(ARGS.server_base_path, ARGS.delayed_jobs_server_base_path)
# pylint: disable=import-error,unused-argument
Module that tests a group config
from specific_tests import utils
def run_test(server_base_url, delayed_jobs_server_base_path):
Tests getting the id property of an index
:param server_base_url: base url of the running server. E.g.
:param delayed_jobs_server_base_path: base path for the delayed_jobs
print('Testing getting the id property of an index')
url = f'{server_base_url}/properties_configuration/group/id_properties/chembl_molecule'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment