Update tests to match new API.

This commit is contained in:
joo committed 2016-06-17 22:54:21 +01:00
1 parent c8b3e7a809
commit 3ff7662684
7 files changed
+85 -62

No files matched your search

+4
View File
@@ -401,6 +401,10 @@ class PlayerListItemPacket(Packet):
self.uuid = UUID.read(file_object)
self._read(file_object)
def _read(self, file_object):
raise NotImplementedError(
'This abstract method must be overridden in a subclass.')
@classmethod
def type_from_id(cls, action_id):
subcls = {