There are "ifs" in _key_down_pressed and _key_up_pressed, but there's only one test for each.
Please add more tests that check all possible combinations.
----
There's no need for this to be a dict:
self.fake_desktop_service.data['url']
It should be just a variable:
self.fake_desktop_service.opened_url
There are "ifs" in _key_down_pressed and _key_up_pressed, but there's only one test for each.
Please add more tests that check all possible combinations.
----
There's no need for this to be a dict: fake_desktop_ service. data['url' ]
self.
It should be just a variable: fake_desktop_ service. opened_ url
self.