Skip to content

Update readme

Update readme #49

GitHub Actions / pytest results failed Jun 6, 2024 in 1s

0 passed, 2 failed and 0 skipped

Tests failed

❌ tests/test-results.xml

2 tests were completed in 2s with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 2❌ 2s

❌ pytest

❌ tests.unit.test_aifunctions
	ImportError while importing test module '/home/runner/work/sc2-ai-coach/sc2-ai-coach/tests/unit/test_aifunctions.py'.
❌ tests.unit.test_reader
	ImportError while importing test module '/home/runner/work/sc2-ai-coach/sc2-ai-coach/tests/unit/test_reader.py'.

Annotations

Check failure on line 0 in tests/test-results.xml

See this annotation in the file changed.

@github-actions github-actions / pytest results

pytest ► tests.unit.test_aifunctions

Failed test found in:
  tests/test-results.xml
Error:
  ImportError while importing test module '/home/runner/work/sc2-ai-coach/sc2-ai-coach/tests/unit/test_aifunctions.py'.
Raw output
ImportError while importing test module '/home/runner/work/sc2-ai-coach/sc2-ai-coach/tests/unit/test_aifunctions.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda/envs/aicoach311-ci/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/test_aifunctions.py:3: in <module>
    from aicoach.functions import AddMetadata, AIFunctions
aicoach/__init__.py:6: in <module>
    from .aicoach import AICoach
aicoach/aicoach.py:22: in <module>
    from .functions import AIFunctions
aicoach/functions/__init__.py:2: in <module>
    from .QueryReplayDB import QueryReplayDB
aicoach/functions/QueryReplayDB.py:9: in <module>
    from replays import replaydb
replays/__init__.py:3: in <module>
    from .db import engine as db
replays/db.py:6: in <module>
    from pyodmongo.models.responses import SaveResponse
E   ImportError: cannot import name 'SaveResponse' from 'pyodmongo.models.responses' (/usr/share/miniconda/envs/aicoach311-ci/lib/python3.11/site-packages/pyodmongo/models/responses.py)

Check failure on line 0 in tests/test-results.xml

See this annotation in the file changed.

@github-actions github-actions / pytest results

pytest ► tests.unit.test_reader

Failed test found in:
  tests/test-results.xml
Error:
  ImportError while importing test module '/home/runner/work/sc2-ai-coach/sc2-ai-coach/tests/unit/test_reader.py'.
Raw output
ImportError while importing test module '/home/runner/work/sc2-ai-coach/sc2-ai-coach/tests/unit/test_reader.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda/envs/aicoach311-ci/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/unit/test_reader.py:4: in <module>
    from replays import ReplayReader, time2secs
replays/__init__.py:3: in <module>
    from .db import engine as db
replays/db.py:6: in <module>
    from pyodmongo.models.responses import SaveResponse
E   ImportError: cannot import name 'SaveResponse' from 'pyodmongo.models.responses' (/usr/share/miniconda/envs/aicoach311-ci/lib/python3.11/site-packages/pyodmongo/models/responses.py)