'Test to make sure that a match works across course runs'

@override_settings(COURSES_WITH_UNSAFE_CODE=['edX/full/.*'])
def test_sandbox_inclusion(self):

    self.assertTrue(can_execute_unsafe_code(CourseKey.from_string('edX/full/2012_Fall')))
    self.assertTrue(can_execute_unsafe_code(CourseKey.from_string('edX/full/2013_Spring')))
    self.assertFalse(can_execute_unsafe_code(LibraryLocator('edX', 'test_bank')))
