Skip to content

fix ruff

fix ruff #33

GitHub Actions / JUnit Test Report failed Oct 8, 2024 in 0s

1 tests run, 0 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in tests/test_fill_form/test_fill_form.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests/test_fill_form/test_fill_form.py.tests.test_fill_form.test_fill_form

collection failure
Raw output
ImportError while importing test module '/Users/runner/work/pytest-python-selenium-framework/pytest-python-selenium-framework/tests/test_fill_form/test_fill_form.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../Library/Caches/pypoetry/virtualenvs/simple-framework-AWMYOlGi-py3.12/lib/python3.12/site-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
../../../Library/Caches/pypoetry/virtualenvs/simple-framework-AWMYOlGi-py3.12/lib/python3.12/site-packages/_pytest/pathlib.py:582: in import_path
    importlib.import_module(module_name)
/opt/homebrew/Cellar/[email protected]/3.12.6/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
../../../Library/Caches/pypoetry/virtualenvs/simple-framework-AWMYOlGi-py3.12/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
tests/test_fill_form/test_fill_form.py:1: in <module>
    from src.pageobjects.text.fill_form import FillForm
../../../Library/Caches/pypoetry/virtualenvs/simple-framework-AWMYOlGi-py3.12/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
src/pageobjects/text/fill_form.py:1: in <module>
    from locators.locators import TextFields
E   ModuleNotFoundError: No module named 'locators'