Package repoze :: Package who :: Package plugins :: Package tests :: Module test_authtkt :: Class TestAuthTktCookiePlugin
[hide private]

Class TestAuthTktCookiePlugin

source code


Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
_getTargetClass(self) source code
 
_makeEnviron(self, kw=None) source code
 
_makeOne(self, *arg, **kw) source code
 
_makeTicket(self, userid='userid', remote_addr='0.0.0.0', tokens=[], userdata='userdata', cookie_name='auth_tkt', secure=False, time=None) source code
 
_setNowTesting(self, value) source code
 
test_implements(self) source code
 
test_identify_nocookie(self) source code
 
test_identify_good_cookie_include_ip(self) source code
 
test_identify_good_cookie_dont_include_ip(self) source code
 
test_identify_good_cookie_int_useridtype(self) source code
 
test_identify_good_cookie_unknown_useridtype(self) source code
 
test_identify_bad_cookie(self) source code
 
test_identify_bad_cookie_expired(self) source code
 
test_remember_creds_same(self) source code
 
test_remember_creds_different(self) source code
 
test_remember_creds_different_include_ip(self) source code
 
test_remember_creds_different_bad_old_cookie(self) source code
 
test_remember_creds_different_with_nonstring_tokens(self) source code
 
test_remember_creds_different_int_userid(self) source code
 
test_remember_creds_different_long_userid(self) source code
 
test_remember_creds_different_unicode_userid(self) source code
 
test_remember_creds_reissue(self) source code
 
test_forget(self) source code
 
test_factory_wo_secret_wo_secretfile_raises_ValueError(self) source code
 
test_factory_w_secret_w_secretfile_raises_ValueError(self) source code
 
test_factory_w_bad_secretfile_raises_ValueError(self) source code
 
test_factory_w_secret(self) source code
 
test_factory_w_secretfile(self) source code
 
test_factory_with_timeout_and_reissue_time(self) source code
 
test_factory_with_userid_checker(self) source code
 
test_timeout_no_reissue(self) source code
 
test_timeout_lower_than_reissue(self) source code
 
test_identify_with_checker_and_existing_account(self) source code
 
test_identify_with_checker_and_non_existing_account(self) source code
 
test_remember_max_age(self) source code

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  tempdir = None
hash(x)
  _now_testing = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.TestCase.tearDown
(inherited documentation)