pyCraft/tests
Jeppe Klitgaard 55ff270f16 Tests for VarInt
Removed unused import (SerializationError)

We now check if Datatype.SIZE is a number using ABC.

Added 2 decorators for raising serialized and deserialized data
exceptions.

Datatype.SIZE can now be either a number or a sequence. If sequence,
first value is MIN_SIZE and second value is MAX_SIZE

VarInt.serialize now raises ValueError instead of SerializationError
when number is too big to serialize.
2015-04-16 23:38:02 +02:00
..
encryption Add more encryption tests 2015-04-03 07:19:46 +05:00
__init__.py Made some tests for authentication. Still many tests to be made 2015-04-02 00:11:14 +02:00
compat.py Made some tests for authentication. Still many tests to be made 2015-04-02 00:11:14 +02:00
test_authentication.py Moved tests around for more logical order. Made tests for Profile object. 2015-04-07 20:07:47 +02:00
test_compat.py Added tests for LongLong and UnsignedLongLong. 2015-04-16 17:05:44 +02:00
test_connection.py Quick little base test for connection 2015-04-03 22:04:45 +05:00
test_datatypes.py Tests for VarInt 2015-04-16 23:38:02 +02:00
test_encryption.py Fully test the encryption package, and add a test for uncompressed packets when packet compression is enabled 2015-04-03 21:30:31 +05:00
test_exceptions.py Abstraction in exceptions tests 2015-04-14 19:45:15 +02:00
test_packets.py Added more tests, fixed compat.py to run on py3 as well 2015-04-12 07:26:12 +05:00
test_serialization.py Added more tests, fixed compat.py to run on py3 as well 2015-04-12 07:26:12 +05:00
test_version.py Added the first test, yay 2015-04-01 17:40:40 +02:00