'Test that get_all_orgs returns all orgs from site configuration.'

def test_get_all_orgs(self):

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