'Test that get_all_orgs returns only those orgs whose configurations are enabled.'

def test_get_all_orgs_returns_only_enabled(self):

    expected_orgs = [self.test_config2['course_org_filter']]
    SiteConfigurationFactory.create(site=self.site, values=self.test_config1, enabled=False)
    SiteConfigurationFactory.create(site=self.site2, values=self.test_config2)
    self.assertListEqual(list(SiteConfiguration.get_all_orgs()), expected_orgs)
