Package unit :: Module test_caps_cache :: Class TestCapsCache
[hide private]
[frames] | no frames]

Class TestCapsCache

source code


Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_set_retrieve(self)
Test basic set / retrieve cycle
source code
 
test_set_and_store(self)
Test client_caps update gets logged into db
source code
 
test_initialize_from_db(self)
Read cashed dummy data from db
source code
 
test_preload_triggering_query(self)
Make sure that preload issues a disco
source code
 
test_no_preload_query_if_cashed(self)
Preload must not send a query if the data is already cached
source code
 
test_hash(self)
tests the hash computation
source code

Inherited from CommonCapsTest: setUp

Inherited from unittest.TestCase: __call__, __init__, __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, tearDown

Inherited from unittest.TestCase (private): _exc_info

Method Details [hide private]

test_set_retrieve(self)

source code 
Test basic set / retrieve cycle

test_set_and_store(self)

source code 
Test client_caps update gets logged into db

test_initialize_from_db(self)

source code 
Read cashed dummy data from db

test_preload_triggering_query(self)

source code 
Make sure that preload issues a disco

test_no_preload_query_if_cashed(self)

source code 
Preload must not send a query if the data is already cached

test_hash(self)

source code 
tests the hash computation