mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-29 05:35:11 +01:00
10 lines
266 B
Python
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)
|