ewsterrenburg / python-otrs

Pythonic interface to OTRS SOAP API
GNU General Public License v3.0
47 stars 27 forks source link

Modified test suite so it works on 'normal' OTRS #4

Closed mbeijen closed 8 years ago

mbeijen commented 8 years ago

The test suite assumes there was a queue called 'Support', status 'Closed', a specific ticket with ID 59, an autoresponse defined on a queue, and so on.

I modified the tests so they now work on an OTRS system that just has been set up; using default values for these fields.

Also I added a little more descriptive message when tests are run without setting environment values; OTRS_SERVER and OTRS_WEBSERVICE were not mentioned.

ewsterrenburg commented 8 years ago

Thanks @mbeijen. Improving the tests was still on the to-do list. This makes a good start :)