File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ def is_runtime_configuration(cls, obj):
7878
7979
8080def get_configuration_object (config_file = None ,
81- skip_log = False , disable_auth_log = False , raw = False ):
81+ skip_log = False ,
82+ disable_auth_log = False ,
83+ _raw = False ):
8284 """Simple helper to call the general configuration init. Optional skip_log
8385 and disable_auth_log arguments are passed on to allow skipping the default
8486 log initialization and disabling auth log for unit tests.
@@ -106,7 +108,7 @@ def get_configuration_object(config_file=None,
106108 configuration = Configuration (_config_file , False , skip_log ,
107109 disable_auth_log )
108110
109- if raw :
111+ if _raw :
110112 return configuration
111113
112114 return RuntimeConfiguration (configuration )
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def _make_configuration_instance(testcase, configuration_to_make):
225225 return FakeConfiguration (logger = testcase .logger )
226226 elif configuration_to_make == 'testconfig' :
227227 from mig .shared .conf import get_configuration_object , RuntimeConfiguration
228- configuration = get_configuration_object (skip_log = True , disable_auth_log = True , raw = True )
228+ configuration = get_configuration_object (skip_log = True , disable_auth_log = True , _raw = True )
229229 return RuntimeConfiguration (configuration )
230230 else :
231231 raise AssertionError (
You can’t perform that action at this time.
0 commit comments