Skip to content
Snippets Groups Projects
Commit 7d71c057 authored by Robert Habermann's avatar Robert Habermann
Browse files

add py26 test and skip __init__ coverage

parent 7a70b2c5
No related branches found
No related tags found
No related merge requests found
......@@ -932,7 +932,7 @@ class Client(object):
"""ticket_get_by_list
Args:
ticket_id_list (list): List of Integer value
ticket_id_list (list): List of either String or Integer values
attachments (bool): will request OTRS to include attachments (*default: False*)
articles (bool): will request OTRS to include all
Articles (*default: False*)
......@@ -948,7 +948,11 @@ class Client(object):
"session_restore_or_set_up_new() first")
self.operation = "TicketGetList"
if isinstance(ticket_id_list, int):
# TODO 2016-09-11 (RH) should we silently catch and fix this "misusage" ?!
# if isinstance(ticket_id_list, int):
# ticket_id_list = [ticket_id_list]
if not isinstance(ticket_id_list, list):
raise ArgumentInvalidError("Please provide list of IDs!")
payload = {
......
......@@ -5,6 +5,7 @@
[tox]
envlist =
cov_clean,
py26,
py27,
py34,
cov_combine,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment