-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [qatl] moved exception to own package + added exceptions for auth API XMLRPC + removed old code * [qatl] divided managers classes to own files * [qatl] missing spaces FIX * [qatl] added to models + missing properties for TProject object + added new model, TPlan * [qatl] FIX for int params * [qatl] added tl.getProjectTestPlans response * [qatl] added test for tl.getProjectTestPlans
- Loading branch information
Showing
9 changed files
with
393 additions
and
194 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
"""TODO: doc module""" | ||
|
||
|
||
class ResponseException(Exception): | ||
"""Inherits exception, just for raises testlink XMLRPC errors""" | ||
|
||
def __init__(self, code, log, | ||
message='Response Exception message not defined at raise', | ||
err=None): | ||
"""Raise an exception from any part of qacode package""" | ||
super(ResponseException, self).__init__(err, message) | ||
self._code = code | ||
self._message = message | ||
log.error( | ||
"Response exception detected: \n code={}\n message={}".format( | ||
self._code, self._message)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.