'Patch the time so that we can replay canned
request/response pairs'

def setUp(self):

    super(SAMLTest, self).setUp()
    @staticmethod
    def fixed_time():
        return OneLogin_Saml2_Utils.parse_SAML_to_time('2015-05-09T03:57:22Z')
    now_patch = patch.object(OneLogin_Saml2_Utils, 'now', fixed_time)
    now_patch.start()
    self.addCleanup(now_patch.stop)
