Package gavo :: Package helpers :: Module trialhelpers :: Class RenderTest
[frames] | no frames]

Class RenderTest

source code

                         object --+                
                                  |                
             unittest.case.TestCase --+            
                                      |            
                             object --+            
                                      |            
    twisted.trial._synctest._Assertions --+        
                                          |        
twisted.trial._synctest.SynchronousTestCase --+    
                                              |    
              twisted.trial._asynctest.TestCase --+
                                                  |
                                                 RenderTest
Known Subclasses:

a base class for tests of twisted web resources.

Instance Methods
 
assertStringsIn(self, result, strings, inverse=False, customTest=None) source code
 
assertResultHasStrings(self, method, path, args, strings, rm=None, inverse=False, customTest=None) source code
 
assertGETHasStrings(self, path, args, strings, rm=None, customTest=None) source code
 
assertGETLacksStrings(self, path, args, strings, rm=None) source code
 
assertPOSTHasStrings(self, path, args, strings, rm=None) source code
 
assertStatus(self, path, status, args={}, rm=None) source code
 
assertGETRaises(self, path, args, exc, alsoCheck=None) source code
 
assertResponseIsValid(self, res) source code
 
assertGETIsValid(self, path, args={}) source code

Inherited from twisted.trial._asynctest.TestCase: __call__, __init__, __provides__, addCleanup, assertFailure, deferRunCleanups, deferSetUp, deferTearDown, deferTestMethod, failUnlessFailure, getSuppress, getTimeout

Inherited from twisted.trial._synctest.SynchronousTestCase: __eq__, __hash__, __ne__, callDeprecated, flushLoggedErrors, flushWarnings, getSkip, getTodo, mktemp, patch, run, runTest, shortDescription

Inherited from twisted.trial._synctest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFalse, assertIdentical, assertIn, assertIs, assertIsInstance, assertIsNot, assertNoResult, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotIsInstance, assertNotSubstring, assertRaises, assertRegex, assertSubstring, assertTrue, assertWarns, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfIsInstance, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns, failureResultOf, successResultOf

Inherited from unittest.case.TestCase: __providedBy__, __repr__, __str__, addTypeEqualityFunc, assertDictContainsSubset, assertDictEqual, assertGreater, assertGreaterEqual, assertIsNone, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotRegexpMatches, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTupleEqual, countTestCases, debug, defaultTestResult, doCleanups, id, setUp, skipTest, tearDown

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

Class Methods

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables
  renderer = None
hash(x)

Inherited from twisted.trial._asynctest.TestCase: __implemented__

Inherited from unittest.case.TestCase: longMessage, maxDiff

Instance Variables

Inherited from twisted.trial._asynctest.TestCase: timeout

Inherited from twisted.trial._synctest.SynchronousTestCase: failureException, skip, suppress, todo

Properties

Inherited from object: __class__