Skip to content

Commit f9859bd

Browse files
committed
fixup
1 parent 5ffe792 commit f9859bd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/test_mig_wsgi-bin_migwsgi.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ def _import_migwsgi():
6161
migwsgi = _import_migwsgi()
6262

6363

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-
7164
def _is_return_value(return_value):
7265
defined_return_values = returnvalues.__dict__.values()
7366
return return_value in defined_return_values
@@ -184,8 +177,6 @@ def _provide_configuration(self):
184177
return 'testconfig'
185178

186179
def before_each(self):
187-
_assert_local_config_global_values(self.configuration)
188-
189180
# generic WSGI setup
190181
self.fake_wsgi_environ = create_wsgi_environ(self.configuration, wsgi_variables=dict(
191182
http_host='localhost',

0 commit comments

Comments
 (0)