Skip to content

Commit 436f46d

Browse files
committed
Merge branch 'master' of https://.com/postgrespro/testgres
2 parents b19d053 + 999a0e8 commit 436f46d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎testgres/testgres.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676

7777

7878
class TestgresConfig:
79+
"""
80+
Global config (override default settings)
81+
"""
82+
7983
cache_pg_config = True
8084
cache_initdb = True
8185

@@ -84,6 +88,7 @@ class TestgresException(Exception):
8488
"""
8589
Base exception
8690
"""
91+
8792
pass
8893

8994

@@ -1239,8 +1244,10 @@ def get_new_node(name, base_dir=None, use_logging=False):
12391244

12401245

12411246
def configure_testgres(**options):
1242-
'''
1243-
Configure testgres. Look for TestgresConfig to check what can be changed.
1244-
'''
1247+
"""
1248+
Configure testgres.
1249+
Look at TestgresConfig to check what can be changed.
1250+
"""
1251+
12451252
for key, option in options.items():
12461253
setattr(TestgresConfig, key, option)

0 commit comments

Comments
 (0)