74b350e9dd
Don't use formatting on bytes
...
Formatting bytes works on Py2.x, but breaks in Py3.x, this should resolve the issues but further unit tests will be need to capture any regressions. Formatting will be supported in Py3.5, but generally it'll be better to avoid formatting where it isn't really needed. Resolves #6
2015-02-16 10:34:04 +00:00
b24d617358
Updated defines to the latest document standard.
2014-03-29 00:26:52 +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
68845770ef
Call init for the Proto
2014-03-28 22:38:57 +00:00
d3e8ce6d2b
Switch to using context managers for locking.
2014-03-28 22:35:44 +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
c0003d03be
Added clientpoke command
2011-06-07 09:47:19 +01:00
b203a1c220
Switch clientkick to use the clientlist function
2011-06-07 09:46:02 +01:00
b1006c6494
Added clientlist command to return a dict of clients keyed by clid
2011-06-07 09:38:10 +01:00
68aafbde35
Added locking for IO, avoid call collisions on multithreaded applications
2011-06-07 09:25:46 +01:00
Krzysztof Jagiello
9ac1fd1d8d
a fix and new tests for parse_data
2011-06-07 08:18:01 +01:00
Krzysztof Jagiello
09e10e7e92
fixed hasattr
2011-06-07 08:16:49 +01:00
Krzysztof Jagiello
a33d73bd91
removed useless code, changed the way of parsing server response as it was way too much code that did not do anything
2011-06-07 08:14:45 +01:00
Krzysztof Jagiello
ec2a030d1b
fixed clientkick command as it was not working properly
2011-06-07 08:11:41 +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
Krzysztof Jagiello
c77c71e746
corrected ascii code for horizontal tab
2011-06-07 08:08:56 +01:00
726591ba8f
Add some sensible defaults, stop TS3Server requiring connection details to instance
2011-06-06 11:28:10 +01:00
f957439415
Added the start of some unittests.
2011-06-06 11:02:02 +01:00
64595322f0
Fix ordering issues escaping/unescaping
...
It seems as we were storing our list of modifications in a dict we couldn't rely
on the order of them coming out the dict, this was causing issues with \n and \r
and caused the output to have \\n or \\r. Switching to a list of tuples resolved
the issue.
2011-06-06 10:59:45 +01:00
589e894f97
Add logging to send_command
2011-06-06 09:11:10 +01:00
c105e3594d
Added clientkick command to TS3Server
2011-06-06 09:08:31 +01:00
d3b3a4d90f
Add in defines from ServerQuery manual, move ts3.py into a package
2011-06-06 08:41:58 +01:00