117
118
# the start-of-request handler will do something like this:
118
119
controller, call_log = self.makeControllerInScopes(
119
120
['default', 'beta_user'])
122
122
# then application code can simply ask without needing a context
124
124
self.assertEqual(u'4.0', getFeatureFlag('ui.icing'))
128
126
def test_threadGetFlagNoContext(self):
129
127
# If there is no context, please don't crash. workaround for the root