Example #1
0
 def test_bytes_set(self):
     msg = FMessage(['foo', 'bar'])
     self.assertEqual(msg.to_bytes(), bytearray(b'f:foo,bar\r\n'))
Example #2
0
	def test_bytes_set(self):
		msg = FMessage(['foo', 'bar'])
		self.assertEqual(msg.to_bytes(), bytearray(b'f:foo,bar\r\n'))
Example #3
0
 def test_bytes_query(self):
     msg = FMessage()
     self.assertEqual(msg.to_bytes(), bytearray(b'f:\r\n'))
Example #4
0
	def test_bytes_query(self):
		msg = FMessage()
		self.assertEqual(msg.to_bytes(), bytearray(b'f:\r\n'))