Closed ScenicJaguar101 closed 5 days ago
============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/runner/work/Enigma/Enigma configfile: pyproject.toml plugins: asyncio-0.24.0, anyio-4.6.2.post1, cov-6.0.0 asyncio: mode=Mode.STRICT, default_loop_scope=None collected 102 items
tests/bot_test.py . [ 0%] tests/eda_test.py .......... [ 10%] tests/get_all_test.py ...... [ 16%] tests/preload_songs_test.py .................... [ 36%] tests/scraping_test.py ........... [ 47%] tests/song_queue_cog_test.py ........................ [ 70%] tests/test_recommend.py ........ [ 78%] tests/utils_test.py .. [ 80%] tests/volume_test.py .................... [100%]
=============================== warnings summary =============================== ../../../../../opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/discord/player.py:29 /opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/discord/player.py:29: DeprecationWarning: 'audioop' is deprecated and slated for removal in Python 3.13 import audioop
tests/song_queue_cog_test.py::TestSongQueueCog::test_pause_success /home/runner/work/Enigma/Enigma/src/song_queue_cog.py:442: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited Coroutine created at (most recent call last) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/base_events.py", line 1978, in _run_once handle._run() File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/unittest/mock.py", line 1412, in patched return await func(newargs, newkeywargs) File "/home/runner/work/Enigma/Enigma/tests/song_queue_cog_test.py", line 197, in test_pause_success await self.cog.pause(mock_ctx) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/discord/ext/commands/core.py", line 588, in call return await self.callback(self.cog, context, *args, *kwargs) # type: ignore File "/home/runner/work/Enigma/Enigma/src/song_queue_cog.py", line 442, in pause BotState.pause(voice_client) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/unittest/mock.py", line 1139, in call return self._mock_call(args, kwargs) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/unittest/mock.py", line 1143, in _mock_call return self._execute_mock_call(*args, **kwargs) BotState.pause(voice_client) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
tests/song_queue_cog_test.py::TestSongQueueCog::test_unpause_success /home/runner/work/Enigma/Enigma/src/song_queue_cog.py:480: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited Coroutine created at (most recent call last) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/base_events.py", line 1978, in _run_once handle._run() File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/unittest/mock.py", line 1412, in patched return await func(newargs, newkeywargs) File "/home/runner/work/Enigma/Enigma/tests/song_queue_cog_test.py", line 243, in test_unpause_success await self.cog.unpause(mock_ctx) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/discord/ext/commands/core.py", line 588, in call return await self.callback(self.cog, context, *args, *kwargs) # type: ignore File "/home/runner/work/Enigma/Enigma/src/song_queue_cog.py", line 480, in unpause BotState.unpause(voice_client) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/unittest/mock.py", line 1139, in call return self._mock_call(args, kwargs) File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/unittest/mock.py", line 1143, in _mock_call return self._execute_mock_call(*args, **kwargs) BotState.unpause(voice_client) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 102 passed, 3 warnings in 4.20s ========================
All modified and coverable lines are covered by tests :white_check_mark:
This pull request includes significant updates to the
README.md
file to reflect changes in the project ownership, features, and installation procedures. The most important changes include updating repository links, reorganizing and enhancing the feature list, and adding new sections for installation, running the code, and contributions.Updates to repository links and badges:
CSC510-Team-Wise-Vilkomir-Sykes
fromCSC510-Team87
.Reorganization and enhancement of features:
New sections added:
.env
file.