54cd134f79
Merge pull request #14 from vitrig/develop
...
Fixed issues with str vs bytes mismatch for python 3.4
2015-08-04 14:13:20 +01:00
Przemysław Czarnota
8d356e32b0
Fixed some issues with bytes vs str mismatch
2015-08-02 22:25:55 +02:00
Przemysław Czarnota
a86d4e11a9
response.startswith should accept bytes
2015-08-02 22:03:56 +02:00
9a880bd3be
Merge pull request #12 from nikdoof/nikdoof-py26-test-fixes
...
Add ordereddict package for Python 2.6
2015-02-16 11:03:21 +00:00
a20bc66eab
Import from ordereddict for Py2.6
2015-02-16 11:00:09 +00:00
236aca020d
Add ordereddict package for Python 2.6
2015-02-16 10:59:18 +00:00
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
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
1f6ede851d
Run tests on Python 3.4
2015-02-16 10:25:44 +00:00
b24d617358
Updated defines to the latest document standard.
2014-03-29 00:26:52 +00:00
3ecbc6f6f1
Fix sample scripts for Py3
2014-03-29 00:19:15 +00:00
25da143c18
Use bytes for I/O, and encode any text.
2014-03-29 00:17:22 +00:00
c03dba92e5
Fix test requirements.
2014-03-29 00:03:55 +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
6ab8688657
Updated README
2014-03-27 10:25:36 +00:00
03b425a00c
Add PyPy to tests
2014-03-27 10:19:01 +00:00
9a47aa350f
Actually remove unittest from setup.py
2014-03-27 10:11:58 +00:00
824f1dc82f
Fix TestCase class
2014-03-27 10:09:56 +00:00
e83a88cb85
Remove unittest2 from setup.py
2014-03-27 10:08:20 +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
9d13348de6
Fix setup.py
2013-10-27 17:59:41 +00:00
ab67e3d60a
Install unittest2 on Py2.6
2013-10-27 17:55:14 +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
9fd521336a
Change README to Markdown.
2013-10-27 17:18:42 +00:00
453c1597ae
Add basic Travis config.
2013-10-27 17:08:05 +00:00
c6c3084c7c
Ignore egg files.
2013-10-27 17:06:39 +00:00
7bb9dbf21e
Switch to setuptools
2013-10-27 17:05:40 +00:00
b66a8d97c6
Ignore IntelliJ files.
2013-10-27 16:59:38 +00:00
359c5e3ef0
Breakout init into submodules.
2013-10-27 16:59:21 +00:00
ed772ab21f
Updated automover example
2011-06-28 11:50:48 +01:00
56a2771b96
Added distutils2 config file, updated gitignore
2011-06-07 11:28:55 +01:00
9a0b993250
Added keywords
2011-06-07 10:43:40 +01:00
d2d1ba4413
Added (example) script to generate privilege keys
2011-06-07 10:41:32 +01: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
0621469930
Added an example: automover
2011-06-07 09:26:33 +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
762f1dd0d1
fixed bug in example
2011-06-07 08:17:21 +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
0661e36fdc
updated docs
2011-06-07 08:12:29 +01:00