From 9187c52ec62ef026c76c3ebc370c9d53c9c9b29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sara=20Aim=C3=A9e=20Smiseth?= <51710585+SaraSmiseth@users.noreply.github.com> Date: Sat, 3 Oct 2020 18:57:13 +0200 Subject: [PATCH] wip tests 4 --- tests/test.zsh | 2 +- tests/test_prosody.py | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/test.zsh b/tests/test.zsh index a8cd316..4fad65f 100755 --- a/tests/test.zsh +++ b/tests/test.zsh @@ -25,7 +25,7 @@ sudo docker exec tests_prosody_1 /bin/bash -c "/entrypoint.sh register admin loc python -m venv venv source venv/bin/activate -pip install -r requirements.txt +pip install -r requirements.txt # If updates are available --> update and create new version with 'pip-chill > requirements.txt' pytest deactivate diff --git a/tests/test_prosody.py b/tests/test_prosody.py index b53c716..3c73893 100644 --- a/tests/test_prosody.py +++ b/tests/test_prosody.py @@ -50,11 +50,3 @@ async def test_sendMessage(client_with_messageDispatcher): msg.body[None] = "Hello World!" await client.send(msg) - -# def main(): -# loop = asyncio.get_event_loop() -# loop.run_until_complete(sendMessage()) -# loop.close() - -# if __name__ == '__main__': -# main()