Skip to content
Snippets Groups Projects
Commit d04f34ec authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

Don't run test if mysql/pg aren't configured. #76

parent d8642e4c
No related branches found
No related tags found
No related merge requests found
# encoding: tarantool
import os
try:
(host, port, user, password, db) = os.getenv('MYSQL').split(':')
except (RuntimeError, TypeError, NameError, AttributeError, ValueError):
self.skip = 1
import os
try:
(host, port, user, password, db) = os.getenv('PG').split(':')
except (RuntimeError, TypeError, NameError, AttributeError, ValueError):
self.skip = 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment