mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-08 08:05:47 +02:00
Don't count testing code as coverage
This commit is contained in:
parent
b74f794639
commit
8dbf68cac0
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ DBSession = sessionmaker(
|
||||||
)
|
)
|
||||||
|
|
||||||
# MongoDB client
|
# MongoDB client
|
||||||
if not settings.TESTING:
|
if not settings.TESTING: # pragma: no cover
|
||||||
encoded_mongo_username = quote_plus(settings.MONGO_USER)
|
encoded_mongo_username = quote_plus(settings.MONGO_USER)
|
||||||
encoded_mongo_password = quote_plus(settings.MONGO_PASS)
|
encoded_mongo_password = quote_plus(settings.MONGO_PASS)
|
||||||
mongo_url = (
|
mongo_url = (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue