equal
deleted
inserted
replaced
965 class _NeedAuthAccessMock(object): |
965 class _NeedAuthAccessMock(object): |
966 |
966 |
967 def __getattribute__(self, attr): |
967 def __getattribute__(self, attr): |
968 raise AuthenticationError() |
968 raise AuthenticationError() |
969 |
969 |
970 def __nonzero__(self): |
970 def __bool__(self): |
971 return False |
971 return False |
|
972 |
|
973 __nonzero__ = __bool__ |
972 |
974 |
973 class _MockAnonymousSession(object): |
975 class _MockAnonymousSession(object): |
974 sessionid = 'thisisnotarealsession' |
976 sessionid = 'thisisnotarealsession' |
975 |
977 |
976 @property |
978 @property |