CSC510-Team-Wise-Vilkomir-Sykes / Enigma

This repo is for a discord music bot
GNU General Public License v3.0
0 stars 0 forks source link

Testing merge to main - DO NOT MERGE #25

Closed ScenicJaguar101 closed 2 days ago

ScenicJaguar101 commented 2 days ago

Do not merge this

github-actions[bot] commented 2 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 105 items

tests/bot_test.py . [ 0%] tests/eda_test.py .......... [ 10%] tests/get_all_test.py ...... [ 16%] tests/preload_songs_test.py .................... [ 35%] tests/scraping_test.py ........... [ 45%] tests/song_queue_cog_test.py ........................ [ 68%] tests/test_database.py ... [ 71%] tests/test_recommend.py ........ [ 79%] 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 ======================= 105 passed, 3 warnings in 4.11s ========================