def time_ps_rq_basic(self): """Time a basic presentation service negotiation.""" presentation = PresentationService() presentation.negotiate_as_requestor(self.requestor_contexts, self.acceptor_contexts)
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)
def setup(self): ps = PresentationService() self.test_acc = ps.negotiate_as_acceptor self.test_func = ps.negotiate_as_requestor