MCPcopy Index your code
hub / github.com/PokemonGoF/PokemonGo-Bot / test_api_wrong_request

Method test_api_wrong_request

tests/api_wrapper_test.py:25–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 # request.call()
24
25 def test_api_wrong_request(self):
26 request = ApiWrapper(get_fake_conf()).create_request()
27 with self.assertRaises(AttributeError):
28 request.wrong_request()
29
30 def test_raises_no_player_position_set_exception(self):
31 request = ApiWrapper(get_fake_conf()).create_request()

Callers

nothing calls this directly

Calls 3

ApiWrapperClass · 0.90
get_fake_confFunction · 0.90
create_requestMethod · 0.45

Tested by

no test coverage detected