Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 7, 2023
1 parent edf1e1b commit e8737cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ def pytest_configure(config):
#
# return PhantomJS(**kwargs)


@pytest.fixture
def chrome_options(chrome_options):
from selenium.webdriver.chrome.options import Options

assert isinstance(chrome_options, Options)
chrome_options.binary_location = r'C:\Program Files\Google\Chrome\Application\chrome.exe'
chrome_options.add_argument("--no-sandbox")
Expand Down
19 changes: 0 additions & 19 deletions tests/test_js_graph.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
import math
from typing import Any
from typing import List

import pytest
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import WebDriverException
from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys

import qmxgraph.constants
from qmxgraph import constants
from qmxgraph import js
from qmxgraph import server
from qmxgraph.api import QmxGraphApi
from qmxgraph.configuration import GraphOptions
from qmxgraph.configuration import GraphStyles


# def test_resize_container(graph_cases) -> None:
# """
# :type graph_cases: qmxgraph.tests.conftest.GraphCaseFactory
Expand Down

0 comments on commit e8737cc

Please sign in to comment.