File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,6 @@ def _import_migwsgi():
61
61
migwsgi = _import_migwsgi ()
62
62
63
63
64
- def _assert_local_config_global_values (configuration ):
65
- for config_key in ('mig_path' , 'certs_path' , 'state_path' ):
66
- path_value = getattr (configuration , config_key )
67
- if not is_path_within (path_value , start = _LOCAL_MIG_BASE ):
68
- raise AssertionError ('local config contains bad path: %s=%s' % (path , path_value ))
69
-
70
-
71
64
def _is_return_value (return_value ):
72
65
defined_return_values = returnvalues .__dict__ .values ()
73
66
return return_value in defined_return_values
@@ -184,8 +177,6 @@ def _provide_configuration(self):
184
177
return 'testconfig'
185
178
186
179
def before_each (self ):
187
- _assert_local_config_global_values (self .configuration )
188
-
189
180
# generic WSGI setup
190
181
self .fake_wsgi_environ = create_wsgi_environ (self .configuration , wsgi_variables = dict (
191
182
http_host = 'localhost' ,
You can’t perform that action at this time.
0 commit comments