MCPcopy Create free account
hub / github.com/apache/qpid-proton / get_data

Method get_data

python/tests/proton_tests/interop.py:49–55  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

47 self.data = None
48
49 def get_data(self, name):
50 filename = os.path.join(test_interop_dir, name + ".amqp")
51 f = open(filename, "rb")
52 try:
53 return f.read()
54 finally:
55 f.close()
56
57 def decode_data(self, encoded):
58 buffer = encoded

Callers 2

decode_data_fileMethod · 0.95
decode_message_fileMethod · 0.95

Calls 3

joinMethod · 0.80
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected