# cherrypy.test.test_caching module

class cherrypy.test.test_caching.CacheTest(methodName='runTest')

  Bases: `CPWebCase`

  _assert_resp_len_and_enc_for_gzip(uri)

    Test that after querying gzipped content it’s remains valid in cache and available non-gzipped as well.

  _classSetupFailed = False
  _class_cleanups = []
  disabled_test_antistampede()
  static setup_server()
  testCaching()
  testExpiresTool()
  testGzipStaticCache()

    Test that cache and gzip tools play well together when both enabled.

    Ref GitHub issue #1190.

  testLastModified()
  testVaryHeader()
  test_cache_control()