[CalendarServer-changes] [10632] CalendarServer/branches/users/glyph/digest-auth-redux

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 1 15:53:31 PST 2013


Revision: 10632
          http://trac.calendarserver.org//changeset/10632
Author:   glyph at apple.com
Date:     2013-02-01 15:53:31 -0800 (Fri, 01 Feb 2013)
Log Message:
-----------
Expose this value so it can be referred to explicitly.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/digest-auth-redux/twext/web2/test/test_httpauth.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/digest-auth-redux/

Modified: CalendarServer/branches/users/glyph/digest-auth-redux/twext/web2/test/test_httpauth.py
===================================================================
--- CalendarServer/branches/users/glyph/digest-auth-redux/twext/web2/test/test_httpauth.py	2013-02-01 23:53:30 UTC (rev 10631)
+++ CalendarServer/branches/users/glyph/digest-auth-redux/twext/web2/test/test_httpauth.py	2013-02-01 23:53:31 UTC (rev 10632)
@@ -16,9 +16,11 @@
 
 _trivial_GET = SimpleRequest(None, 'GET', '/')
 
+FAKE_STATIC_NONCE = '178288758716122392881254770685'
 
+
 def makeDigestDeterministic(twistedDigestFactory, key="0",
-                            nonce='178288758716122392881254770685', time=0):
+                            nonce=FAKE_STATIC_NONCE, time=0):
     """
     Patch up various bits of private state to make a digest credential factory
     (the one that comes from Twisted) behave deterministically.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130201/5ccbc0f5/attachment.html>


More information about the calendarserver-changes mailing list