def test_pass_through_initial_screen(self):
    self.provider.is_process_running()
    test_function = (lambda x: (x is False))
    with self.assertRaises(Exception) as context:
        self.provider.__generic_wait_for__('DuelLinks Landing Page', test_function, None)
    self.assertTrue(('Maximum exception count' in str(context.exception)))
    self.provider.sleep_factor = 0.5
    self.assertTrue(callable(self.provider.__is_initial_screen__))
    with self.assertRaises(concurrent.futures._base.TimeoutError) as context:
        self.provider.__generic_wait_for__('DuelLinks Landing Page', test_function, self.provider.__is_initial_screen__, timeout=5)
def test_pass_through_initial_screen(self):
    self.provider.is_process_running()
    test_function = (lambda x: (x is False))
    with self.assertRaises(Exception) as context:
        self.provider.__generic_wait_for__('DuelLinks Landing Page', test_function, None)
    self.assertTrue(('Maximum exception count' in str(context.exception)))
    self.provider.sleep_factor = 0.5
    self.assertTrue(callable(self.provider.__is_initial_screen__))
    with self.assertRaises(concurrent.futures._base.TimeoutError) as context:
        self.provider.__generic_wait_for__('DuelLinks Landing Page', test_function, self.provider.__is_initial_screen__, timeout=5)