• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python3
2# Copyright 2023 The Chromium Authors
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5"""Finch smoke test runner script.
6
7This is the runner script that is executed in the swarming bot. It looks up
8the test cases, downloads chrome/chromedriver if needed, and sets up webdriver
9environment.
10
11This script can be invoked from the root as:
12testing/scripts/run_isolated_script_test.py \
13  testing/variations/smoke/run_webdriver_tests.py
14
15**Working in progres**
16"""
17import pytest
18
19import sys
20
21# pylint: disable=redefined-outer-name
22@pytest.fixture
23def webdriver():
24  # return nothing for now.
25  return None
26
27def test_load_seed_no_crash(webdriver):
28  assert webdriver == None
29
30if __name__ == "__main__":
31  sys.exit(pytest.main(["-qq", __file__]))