pdc: unreleasedvariants

This commit is contained in:
Lubos Kocman
2016-07-15 16:04:33 +02:00
parent ec01f80189
commit 1e44e3b299
2 changed files with 7 additions and 7 deletions

View File

@@ -6,12 +6,12 @@ from rida.config import Config
cfg = Config()
cfg.pdc_url = "http://fed-mod.org:8000/rest_api/v1"
cfg.pdc_url = "http://localhost:8000/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': '1.0'})
module = get_module(pdc_session, {'name': 'testmodule', 'version': '4.3.42', 'release': '0'})
if module:
print ("pdc_data=%s" % str(module))