Reenable Learning Sequence MFE redirect tests
TNL-7157 These tests may were the cause of intermittent test failures a couple weeks ago. Here they are reenabled after changing the way ExperimentWaffleFlag is overridden.
This commit is contained in:
@@ -178,4 +178,8 @@ class ExperimentWaffleFlag(CourseWaffleFlag):
|
||||
if not active:
|
||||
bucket = 0
|
||||
with patch.object(self, 'get_bucket', return_value=bucket):
|
||||
yield
|
||||
# TODO We can move this import to the top of the file once this code is
|
||||
# not all contained within the __init__ module.
|
||||
from openedx.core.djangoapps.waffle_utils.testutils import override_waffle_flag
|
||||
with override_waffle_flag(self, active):
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user