Skip to content

Commit 1a57507

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4e16aad commit 1a57507

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ipyparallel/tests/test_label.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ class sqliteDB(LocalControllerLauncher):
109109

110110

111111
class TestLabelMongoDB(TaskLabelTest, TestCase):
112-
113112
def get_controller_launcher(self):
114113
class mongoDB(LocalControllerLauncher):
115-
database = "mongodb-label-test" # use this database label for testing
116-
controller_args = ["--mongodb", f"--MongoDB.database={database}" ]
114+
database = "mongodb-label-test" # use this database label for testing
115+
controller_args = ["--mongodb", f"--MongoDB.database={database}"]
117116

118117
try:
119118
from pymongo import MongoClient
119+
120120
c = MongoClient(serverSelectionTimeoutMS=2000)
121121
servinfo = c.server_info() # checks if mongo server is reachable using the default connection parameter
122122

0 commit comments

Comments
 (0)