'Tests authorable_xblocks returns an empty list if XBlockStudioConfiguration table is empty, regardless
of whether or not XBlockStudioConfigurationFlag is enabled.'

def test_authorable_blocks_empty_model(self):

    XBlockStudioConfiguration.objects.all().delete()
    self.assertFalse(XBlockStudioConfigurationFlag.is_enabled())
    self.assertEqual(0, len(authorable_xblocks(allow_unsupported=True)))
    XBlockStudioConfigurationFlag(enabled=True).save()
    self.assertEqual(0, len(authorable_xblocks(allow_unsupported=True)))
