mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 15:25:12 +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)
|