From 960c9cde48be80a704d4e4ee93cf0933427dd178 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 24 Aug 2022 17:53:39 -0400 Subject: [PATCH] Improved type checking for galaxy.selenium.context. --- lib/galaxy/selenium/context.py | 1 + mypy.ini | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/galaxy/selenium/context.py b/lib/galaxy/selenium/context.py index c982085230e..6bddf6db63f 100644 --- a/lib/galaxy/selenium/context.py +++ b/lib/galaxy/selenium/context.py @@ -12,6 +12,7 @@ from .navigates_galaxy import NavigatesGalaxy class GalaxySeleniumContext(NavigatesGalaxy): url: str target_url_from_selenium: str + configured_driver: ConfiguredDriver def build_url(self, url: str, for_selenium: bool = True) -> str: if for_selenium: diff --git a/mypy.ini b/mypy.ini index b2fc177f0ce..1bb804108bd 100644 --- a/mypy.ini +++ b/mypy.ini @@ -306,8 +306,6 @@ check_untyped_defs = False check_untyped_defs = False [mypy-galaxy.tool_shed.galaxy_install.migrate.check] check_untyped_defs = False -[mypy-galaxy.selenium.context] -check_untyped_defs = False [mypy-galaxy.objectstore.s3] check_untyped_defs = False [mypy-galaxy.objectstore.pithos]