wip tests 4

This commit is contained in:
Sara Aimée Smiseth 2020-10-03 18:57:13 +02:00
parent 49ff748f3e
commit 9187c52ec6
2 changed files with 1 additions and 9 deletions

View file

@ -25,7 +25,7 @@ sudo docker exec tests_prosody_1 /bin/bash -c "/entrypoint.sh register admin loc
python -m venv venv python -m venv venv
source venv/bin/activate 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 pytest
deactivate deactivate

View file

@ -50,11 +50,3 @@ async def test_sendMessage(client_with_messageDispatcher):
msg.body[None] = "Hello World!" msg.body[None] = "Hello World!"
await client.send(msg) await client.send(msg)
# def main():
# loop = asyncio.get_event_loop()
# loop.run_until_complete(sendMessage())
# loop.close()
# if __name__ == '__main__':
# main()