Commit 9febba7c authored by Vincent Pelletier's avatar Vincent Pelletier

Do not test instance properties as they are not part of object API.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@335 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent faa67596
......@@ -61,9 +61,6 @@ class testProtocol(unittest.TestCase):
def test_01_Packet_init(self):
p = Packet(msg_id=1, msg_type=ASK_PRIMARY_MASTER, body=None)
self.assertEqual(p._id, 1)
self.assertEqual(p._type, ASK_PRIMARY_MASTER)
self.assertEqual(p._body, None)
self.assertEqual(p.getId(), 1)
self.assertEqual(p.getType(), ASK_PRIMARY_MASTER)
self.assertEqual(len(p), PACKET_HEADER_SIZE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment