'Mock the current time for SAML, so we can replay canned requests/responses'

def _freeze_time(self, timestamp):

    now_patch = patch('onelogin.saml2.utils.OneLogin_Saml2_Utils.now', return_value=timestamp)
    now_patch.start()
    self.addCleanup(now_patch.stop)
