Package turbogears :: Package tests :: Module test_paginate
[hide private]

Module test_paginate

source code

Tests for paginate

Classes [hide private]
  Spy
Helper class to test paginate's instances in cherrypy.request.
  TestSpy
Never trust a spy
  TestPagination
Base class for all Paginate TestCases
  TestBasicPagination
  Occupation
  User
  Address
  SOAddress
  TestDatabasePagination
Functions [hide private]
 
test_sort_ordering()
Test the sort_ordering auxiliary function.
source code
 
test_sort_in_memory()
Test sorting in memory only.
source code
 
jsonify_spy(obj) source code
 
create_tables()
Create tables filled with test data.
source code
 
drop_tables() source code
 
setup_module() source code
 
teardown_module() source code
Variables [hide private]
  hub = database.PackageHub('test_paginate')
  __connection__ = database.PackageHub('test_paginate')