MCPcopy Index your code
hub / github.com/appium/python-client / test_status

Method test_status

test/unit/webdriver/webelement_test.py:26–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24class TestWebElement(object):
25 @httpretty.activate
26 def test_status(self):
27 driver = android_w3c_driver()
28 response = {'ready': True, 'message': {'build': {'version': '2.0.0', 'revision': None}}}
29 httpretty.register_uri(
30 httpretty.GET,
31 appium_command('/status'),
32 body=json.dumps({'value': response}),
33 )
34 s = driver.get_status()
35
36 assert s == response
37
38 @httpretty.activate
39 def test_send_key(self):

Callers

nothing calls this directly

Calls 3

android_w3c_driverFunction · 0.90
appium_commandFunction · 0.90
get_statusMethod · 0.80

Tested by

no test coverage detected