Commit Graph

16 Commits

Author SHA1 Message Date
a5436e0998 Use OrderedDicts for input
A small cheat, use ordered dicts for our test input to ensure that the ordering is consistent between versions. The ordering itself doesn't actually matter to the Teamspeak server so this small workaround ensures consistent results for unit tests. Resolves #6
2015-02-16 10:47:53 +00:00
25da143c18 Use bytes for I/O, and encode any text. 2014-03-29 00:17:22 +00:00
686e141251 Fix No Connection test. 2014-03-28 23:58:14 +00:00
efc435d1d4 Unittest2 support for Py2.6 2014-03-28 23:57:23 +00:00
bac43705a4 Add network tests to the suite. 2014-03-28 23:50:12 +00:00
3a8707b14a Add some basic network side tests. 2014-03-28 23:48:05 +00:00
03db25909e Add asserts for integer handling of the escape functions. 2014-03-28 22:39:21 +00:00
824f1dc82f Fix TestCase class 2014-03-27 10:09:56 +00:00
d4254a03da Remove unittest2 requirement
We don't need unittest2 on Py2.6, as we're mostly using asserts supported in the original unittest module.
2014-03-27 10:07:46 +00:00
7fbce6c96a Add testing requirements and update tests to unittest2. 2013-10-27 17:52:50 +00:00
a8543521b8 Switch to relative imports 2013-10-27 17:23:48 +00:00
359c5e3ef0 Breakout init into submodules. 2013-10-27 16:59:21 +00:00
Krzysztof Jagiello
9ac1fd1d8d a fix and new tests for parse_data 2011-06-07 08:18:01 +01:00
Krzysztof Jagiello
8adc3c75c0 tests for grouped parameters and multiple options 2011-06-07 08:08:56 +01:00
Krzysztof Jagiello
d10e927cd2 corrected tests 2011-06-07 08:08:56 +01:00
f957439415 Added the start of some unittests. 2011-06-06 11:02:02 +01:00