'allow_unsupported_xblocks is only shown in Advanced Settings if
XBlockStudioConfigurationFlag is enabled.'

def test_allow_unsupported_xblocks(self):

    self.assertNotIn('allow_unsupported_xblocks', CourseMetadata.fetch(self.fullcourse))
    XBlockStudioConfigurationFlag(enabled=True).save()
    self.assertIn('allow_unsupported_xblocks', CourseMetadata.fetch(self.fullcourse))
