def do_request(self, *pokemon):
     """Quick accessor to hit the compare gadget."""
     return self.app.get(url(controller='dex_gadgets',
                             action='compare_pokemon',
                             pokemon=pokemon))
Beispiel #2
0
 def do_request(self, *pokemon):
     """Quick accessor to hit the compare gadget."""
     return self.app.get(
         url(controller='dex_gadgets',
             action='compare_pokemon',
             pokemon=pokemon))
 def do_search(self, **criteria):
     u"""Small wrapper to run a Pokémon search for the given criteria."""
     return self.app.get(url(controller='dex_search',
                             action='pokemon_search',
                             **criteria))
Beispiel #4
0
 def do_search(self, **criteria):
     u"""Small wrapper to run a move search for the given criteria."""
     return self.app.get(url(controller='dex_search',
                             action='move_search',
                             **criteria))
Beispiel #5
0
 def hit_page(self, urlargs):
     urlargs.setdefault('controller', 'dex')
     response = self.app.get(url(**urlargs))
     return response
Beispiel #6
0
 def hit_page(self, urlargs):
     urlargs.setdefault('controller', 'dex')
     response = self.app.get(url(**urlargs))
     return response