118
117
# the start-of-request handler will do something like this:
119
118
controller, call_log = self.makeControllerInScopes(
120
119
['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'))
126
128
def test_threadGetFlagNoContext(self):
127
129
# If there is no context, please don't crash. workaround for the root