コード例 #1
0
 def time_ps_rq_basic(self):
     """Time a basic presentation service negotiation."""
     presentation = PresentationService()
     presentation.negotiate_as_requestor(self.requestor_contexts,
                                         self.acceptor_contexts)
コード例 #2
0
 def time_ps_ac_role(self):
     """Time a presentation service with SCP/SCU role negotiation."""
     presentation = PresentationService()
     presentation.negotiate_as_requestor(self.requestor_contexts,
                                         self.acceptor_contexts)
コード例 #3
0
 def setup(self):
     ps = PresentationService()
     self.test_acc = ps.negotiate_as_acceptor
     self.test_func = ps.negotiate_as_requestor