mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 23:55:46 +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
|
||||
if not settings.TESTING:
|
||||
if not settings.TESTING: # pragma: no cover
|
||||
encoded_mongo_username = quote_plus(settings.MONGO_USER)
|
||||
encoded_mongo_password = quote_plus(settings.MONGO_PASS)
|
||||
mongo_url = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue