def __init__(self): self._cache = ApplicationCache() self._timeout_in_secs = float(5)
def test_no_current_message(self): cache = ApplicationCache() try: self.assertRaises(RuntimeError, cache.current.anyMember()) except RuntimeError as e: self.assertEqual(e.message, "No current application")
def __init__(self): self._cache = ApplicationCache() self._timeout_in_secs = float(5) self._driver = None self._current_window = None self._available_windows = None
def test_no_current_message(self): cache = ApplicationCache() with self.assertRaisesRegex(RuntimeError, "No current application"): cache.current.anyMember()
def __init__(self): self._cache = ApplicationCache() self._timeout_in_secs = float(5) self._chromedriveradaper = ChromeDriverAdapter()
def __init__(self): self._cache = ApplicationCache()