diff --git a/.coverage b/.coverage index 39606d4..66ccbe9 100644 Binary files a/.coverage and b/.coverage differ diff --git a/tests/test_addgame.py b/tests/test_addgame.py index c8931ff..52a04a3 100644 --- a/tests/test_addgame.py +++ b/tests/test_addgame.py @@ -7,7 +7,6 @@ class TestAddGame(unittest.IsolatedAsyncioTestCase): - @pytest.mark.asyncio async def test_addGame_no_args(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -21,7 +20,6 @@ async def test_addGame_no_args(self): "The correct syntax for this command is: /addgame " ) - @pytest.mark.asyncio async def test_addGame_wrong_args_suggestion(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -36,7 +34,6 @@ async def test_addGame_wrong_args_suggestion(self): r"Game not found. Maybe you meant: (.*)counter-strike(.*)", ) - @pytest.mark.asyncio async def test_addGame_wrong_args_no_suggestion(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -48,7 +45,6 @@ async def test_addGame_wrong_args_no_suggestion(self): await addGame(update, context) message.reply_text.assert_called_once_with("The game is not a steam game") - @pytest.mark.asyncio async def test_addGame_twice(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -62,7 +58,6 @@ async def test_addGame_twice(self): await addGame(update, context) message.reply_text.assert_called_once_with("The game is already in the list") - @pytest.mark.asyncio async def test_addGame_successful(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) diff --git a/tests/test_cleargameslist.py b/tests/test_cleargameslist.py index f513c37..74dfccd 100644 --- a/tests/test_cleargameslist.py +++ b/tests/test_cleargameslist.py @@ -7,7 +7,6 @@ class TestClearGamesList(unittest.IsolatedAsyncioTestCase): - @pytest.mark.asyncio async def test_cleargameslist_successful(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -25,7 +24,6 @@ async def test_cleargameslist_successful(self): await clearGamesList(update, context) message.reply_text.assert_called_once_with("Games list cleared") - @pytest.mark.asyncio async def test_cleargameslist_wrong_args(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) diff --git a/tests/test_deletegame.py b/tests/test_deletegame.py index 95d6dac..fcc812d 100644 --- a/tests/test_deletegame.py +++ b/tests/test_deletegame.py @@ -7,7 +7,6 @@ class TestDeleteGame(unittest.IsolatedAsyncioTestCase): - @pytest.mark.asyncio async def test_deleteGame_successful(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -27,7 +26,6 @@ async def test_deleteGame_successful(self): "Game counter-strike 2 deleted from the list" ) - @pytest.mark.asyncio async def test_deleteGame_no_args(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -41,7 +39,6 @@ async def test_deleteGame_no_args(self): "The correct syntax for this command is: /deletegame " ) - @pytest.mark.asyncio async def test_deleteGame_wrong_args(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) diff --git a/tests/test_getfavoritegames.py b/tests/test_getfavoritegames.py index 312159b..c302524 100644 --- a/tests/test_getfavoritegames.py +++ b/tests/test_getfavoritegames.py @@ -7,7 +7,6 @@ class TestGetFavoriteGamesList(unittest.IsolatedAsyncioTestCase): - @pytest.mark.asyncio async def test_getfavoritegames_successful(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) @@ -21,7 +20,6 @@ async def test_getfavoritegames_successful(self): await getFavoriteGames(update, context) message.reply_text.assert_called_once_with("Favorite Games: counter-strike 2") - @pytest.mark.asyncio async def test_getfavoritegames_wrong_args(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) diff --git a/tests/test_getnews.py b/tests/test_getnews.py index 01a3295..bb477c5 100644 --- a/tests/test_getnews.py +++ b/tests/test_getnews.py @@ -7,7 +7,6 @@ class TestGetNews(unittest.IsolatedAsyncioTestCase): - @pytest.mark.asyncio async def test_getnews_wrong_args(self): update = MagicMock(spec=Update) context = MagicMock(spec=CallbackContext) diff --git a/tests/test_saleOnGames.py b/tests/test_saleOnGames.py deleted file mode 100644 index e69de29..0000000