MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / test

Method test

ideone/__init__.py:310–326  ·  view source on GitHub ↗

A test function that always returns the same thing. >>> ideone_object = Ideone('username', 'password') >>> ideone_object.test_function() {'answerToLifeAndEverything': 42, 'error': "OK", 'moreHelp': "ideone.com", 'oOok': True, 'pi'

(self)

Source from the content-addressed store, hash-verified

308 return self._language_dict
309
310 def test(self):
311 """
312 A test function that always returns the same thing.
313
314 >>> ideone_object = Ideone('username', 'password')
315 >>> ideone_object.test_function()
316 {'answerToLifeAndEverything': 42,
317 'error': "OK",
318 'moreHelp': "ideone.com",
319 'oOok': True,
320 'pi': 3.14}
321
322 """
323 result = self.client.service.testFunction(self.user, self.password)
324 result_dict = Ideone._transform_to_dict(result)
325 Ideone._handle_error(result_dict)
326 return result_dict

Callers 15

saFunction · 0.45
jquery.jsFile · 0.45
faFunction · 0.45
kFunction · 0.45
IaFunction · 0.45
MaFunction · 0.45
dFunction · 0.45
bootstrap.jsFile · 0.45
bootstrap.min.jsFile · 0.45
prism.jsFile · 0.45
codemirror.jsFile · 0.45
patchDisplayFunction · 0.45

Calls 2

_transform_to_dictMethod · 0.80
_handle_errorMethod · 0.80

Tested by

no test coverage detected