Update test.py

This commit is contained in:
Kseniia Sumarokova 2021-12-21 00:06:24 +03:00 committed by GitHub
parent a064410a39
commit d51b101244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ def rabbitmq_cluster():
def rabbitmq_setup_teardown():
print("RabbitMQ is available - running test")
yield # run test
instance.query(f'DROP DATABASE test')
instance.query('DROP DATABASE test')
instance.query('CREATE DATABASE test')