def test_bad_object_method(self):
        self.serve(GET, 'channels', 'test-channel',
                   body='{"id": "test-channel"}')

        try:
            channel = self.uut.channels.get(channelId='test-channel')
            channel.i_am_not_a_method()
            self.fail("How did it find that method?")
        except __HOLE__:
            pass
dataset/ETHPy150Open asterisk/ari-py/ari_test/client_test.py/ClientTest.test_bad_object_method