pyCraft/tests/test_connection.py
2015-04-03 22:04:45 +05:00

10 lines
266 B
Python

import unittest
import minecraft.networking.connection as conn
class ConnectionTest(unittest.TestCase):
def test_connection(self):
connection = conn.Connection("localhost", 25565, None)
self.assertFalse(connection.options.compression_enabled)