'Tests microsite.is_request_in_microsite works as expected.'

def test_is_request_in_microsite(self):

    microsite.set_by_domain(self.microsite.site.domain)
    self.assertTrue(microsite.is_request_in_microsite())
