From bae1ecc150f0b959f71a3bbcc78e8dc5bdcc6edf Mon Sep 17 00:00:00 2001 From: Lubos Kocman Date: Wed, 20 Jul 2016 17:55:11 +0200 Subject: [PATCH] update test-pdc to work with new server --- test-pdc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-pdc.py b/test-pdc.py index c5156377..b4f66bc2 100755 --- a/test-pdc.py +++ b/test-pdc.py @@ -6,17 +6,17 @@ from rida.config import Config cfg = Config() -cfg.pdc_url = "http://localhost:8000/rest_api/v1" +cfg.pdc_url = "http://modularity.fedorainfracloud.org:8080/rest_api/v1" cfg.pdc_insecure = True cfg.pdc_develop = True pdc_session = get_pdc_client_session(cfg) -module = get_module(pdc_session, {'name': 'testmodule', 'version': '4.3.42', 'release': '0'}) +module = get_module(pdc_session, {'name': 'testmodule', 'version': '4.3.43', 'release': '1'}) if module: print ("pdc_data=%s" % str(module)) - print ("deps=[%s]" % ", ".join(get_module_dependencies(pdc_session, module))) - print ("build_deps=[%s]" % ", ".join(get_module_build_dependencies(pdc_session, module))) + print ("deps=%s" % get_module_runtime_dependencies(pdc_session, module)) + print ("build_deps=%s" % get_module_build_dependencies(pdc_session, module)) print ("tag=%s" % get_module_tag(pdc_session, module)) else: print ('module was not found')