def run_test(server_base_url, delayed_jobs_server_base_path): """ Tests getting the in vivo assay classification :param server_base_url: base url of the running server. E.g. http://127.0.0.1:5000 :param delayed_jobs_server_base_path: base path for the delayed_jobs """ print('-------------------------------------------') print('Testing getting the in vivo assay classification') print('-------------------------------------------') url = f'{server_base_url}/visualisations/assay_classifications/in_vivo' utils.assert_get_request_succeeds(url)
def run_test(server_base_url, delayed_jobs_server_base_path): """ Tests getting the configuration of a facets group :param server_base_url: base url of the running server. E.g. http://127.0.0.1:5000 :param delayed_jobs_server_base_path: base path for the delayed_jobs """ print('-------------------------------------------') print('Testing getting the all the configured properties for an index') print('-------------------------------------------') url = f'{server_base_url}/properties_configuration/all_properties/chembl_activity' utils.assert_get_request_succeeds(url)
def run_test(server_base_url, delayed_jobs_server_base_path): """ Tests getting the configuration of a group :param server_base_url: base url of the running server. E.g. http://127.0.0.1:5000 :param delayed_jobs_server_base_path: base path for the delayed_jobs """ print('-------------------------------------------') print('Testing getting the configuration of a group') print('-------------------------------------------') url = f'{server_base_url}/es_data/get_es_document/chembl_molecule/CHEMBL59' utils.assert_get_request_succeeds(url)
def run_test(server_base_url, delayed_jobs_server_base_path): """ Tests getting the protein target classification :param server_base_url: base url of the running server. E.g. http://127.0.0.1:5000 :param delayed_jobs_server_base_path: base path for the delayed_jobs """ print('-------------------------------------------') print('Testing getting the entities_records') print('-------------------------------------------') url = f'{server_base_url}/visualisations/entities_records' utils.assert_get_request_succeeds(url)
def run_test(server_base_url, delayed_jobs_server_base_path): """ Tests getting the configuration of a group :param server_base_url: base url of the running server. E.g. http://127.0.0.1:5000 :param delayed_jobs_server_base_path: base path for the delayed_jobs """ print('-------------------------------------------') print('Testing getting the configuration of a group') print('-------------------------------------------') url = f'{server_base_url}/properties_configuration/group/chembl_molecule/browser_table' utils.assert_get_request_succeeds(url)