| Home | Trees | Index | Help |
|
|---|
| Package amplee :: Package test :: Package features :: Module test_features :: Class TestFeatures |
|
object--+ |TestCase--+ |WebCase--+ |CPWebCase--+ | TestFeatures
| Method Summary | |
|---|---|
test_000_service_document(self)
| |
test_001_request_headers(self)
| |
test_002_datetimes(self)
| |
test_003_basic_auth(self)
| |
test_004_type_text(self)
| |
test_005_type_html(self)
| |
test_006_type_xhtml(self)
| |
test_007_sorted_by_edited(self)
| |
test_008_etag(self)
| |
| Inherited from CPWebCase | |
Compare the response body with a built in error page. | |
| |
| |
Open the url. | |
| |
Hook method for deconstructing the test fixture after testing it. | |
| Inherited from WebCase | |
| |
Fail if value != self.body. | |
Fail if (key, [value]) not in self.headers. | |
Fail if value not in self.body. | |
Fail if value (a regex pattern) is not in self.body. | |
Fail if key in self.headers. | |
Fail if value in self.body. | |
Fail if self.status != status. | |
Make our HTTP_CONN persistent (or not). | |
| Inherited from TestCase | |
Create an instance of the class that will use the named test method when executed. | |
| |
| |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
Fail the test unless the expression is true. | |
| |
Run the test without collecting errors in a TestResult | |
| |
Fail immediately, with the given message. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
| |
Hook method for setting up the test fixture before exercising it. | |
Returns a one-line description of the test, or None if no description has been provided. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
| Inherited from WebCase | |
persistent | |
| Class Variable Summary | |
|---|---|
| Inherited from CPWebCase | |
str |
scheme = 'http'
|
str |
script_name = ''
|
| Inherited from WebCase | |
int |
console_height = 30 |
str |
HOST = '127.0.0.1'
|
bool |
interactive = True
|
int |
PORT = 8000 |
str |
PROTOCOL = 'HTTP/1.1'
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Jul 19 15:32:16 2007 | http://epydoc.sf.net |