Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Testlink API xmlrpc calls #51

Closed
10 tasks done
Tracked by #7
netzulo opened this issue Sep 24, 2017 · 1 comment
Closed
10 tasks done
Tracked by #7

Implement Testlink API xmlrpc calls #51

netzulo opened this issue Sep 24, 2017 · 1 comment
Assignees
Labels
Awaiting-Approver Review In Progress from a Approver Feature New functionality proposal
Projects

Comments

@netzulo
Copy link
Owner

netzulo commented Sep 24, 2017

TODO

Systems requisites

  • Create Public Testlink
  • Create Testlink Token
  • Encrypt new token for .travis builds

Affected (exec testcases)

python setup.py test

  • Inherit class TestInfoBot
  • All Functionals testcases

Issues related

@netzulo netzulo added Feature New functionality proposal Awaiting-Approver Review In Progress from a Approver labels Sep 24, 2017
@netzulo netzulo changed the title TODO Implement Testlink API xmlrpc calls Implement Testlink API xmlrpc calls Nov 13, 2017
@netzulo netzulo added the TODO label Dec 1, 2017
@netzulo netzulo removed the TODO label Jan 6, 2018
@netzulo
Copy link
Owner Author

netzulo commented Jul 29, 2018

Implemented at next branch!

collected 127 items

tests/000_unitaries/suite_001_config.py::TestConfig::test_config_exist
>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>
> d:\4.developmentworkspaces\1.github\qalab\modules\qacode\qacode\core\testing\test_info.py(46)load()
-> cls.tlm = TLManager(settings=tl_key)
(Pdb) l
 41                 )
 42                 cls.add_property('log', lgm.logger)
 43             tl_key = config.get('testlink')
 44             if cls.tlm is None and tl_key is not None:
 45                 import pdb; pdb.set_trace() # TODO, remove DEBUG lane
 46  ->             cls.tlm = TLManager(settings=tl_key)
 47             cls.is_loaded = True
 48
 49         @classmethod
 50         def bot_open(cls, config):
 51             """Open browser using BotBase instance
(Pdb) tl_key
{'connection': {'is_https': False, 'host': 'ntz-qa.tk', 'port': 86}, 'dev_key': '1bfd2ef4ceda22b482b12f2b25457495', 'log_level': 'INFO'}
(Pdb) cls.tlm = TLManager(settings=tl_key)
(Pdb) cls.tlm
<qatestlink.core.testlink_manager.TLManager object at 0x0000023DDEDCA1D0>
(Pdb) cls.tlm.api_login()
2018-07-29 16:58:45,640 - qatestlink - INFO - POST request:
2018-07-29 16:58:46,515 - qatestlink - INFO - POST response:
2018-07-29 16:58:46,515 - qatestlink - INFO -     status_code=200
True
(Pdb)
```

netzulo added a commit that referenced this issue Jul 29, 2018
+ TestInfoBase + tests , issue #51
netzulo added a commit that referenced this issue Jul 29, 2018
@netzulo netzulo closed this as completed Jul 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting-Approver Review In Progress from a Approver Feature New functionality proposal
Projects
QaCode
Awaiting triage
Development

No branches or pull requests

2 participants