Re: omniORBpy actions on missing servant method
Jim Bell via omniORB-list <[email protected]> Mon, 4 Jan 2021 17:28:19 -0600
| Newsgroups | gmane.comp.corba.omniorb.user |
|---|---|
| Organization | J. C. Bell & Associates, Inc. |
| Message-ID | <[email protected]> |
It was the server side I was thinking about. And jumping through a hoop or two for a unit-test's sake would probably be fine. (Like making a call to each function in the interface.) Does the python caller get the NO_IMPLEMENT only on the unimplemented function(s)? Or when the interface is narrowed? (Or other?) Thanks, -Jim On 2021-01-04 12:20 PM, Duncan Grisby wrote: > On Sun, 2021-01-03 at 07:50 -0600, Jim Bell via omniORB-list wrote: >> When the orb encounters a servant that's missing a method, I see it >> puts this on stderr: >> >>> omniORB: (50) 2021-01-03 07:32:20.582000: Python servant for >>> `A:B/C:1.0' has no method named `D'. >> I'd like to build unit tests that fail on this condition, though. >> So can I hook something to determine this? > The caller will get a CORBA.NO_IMPLEMENT exception. Can you catch that > in your tests? Or do you need something on the server side? > > Duncan. > _______________________________________________ omniORB-list mailing list [email protected] https://www.omniorb-support.com/mailman/listinfo/omniorb-list