'Tests microsite.get_all_orgs works as expected.'

def test_get_all_orgs(self):

    microsite.set_by_domain(self.microsite_subdomain)
    self.assertEqual(microsite.get_all_orgs(), set(['TestSiteX', 'LogistrationX']))
    microsite.clear()
    with patch('django.conf.settings.MICROSITE_CONFIGURATION', False):
        self.assertEqual(microsite.get_all_orgs(), set())
