summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2010-02-12 13:01:38 +1100
committerRobert Collins <robertc@robertcollins.net>2010-02-12 13:01:38 +1100
commitcd86ed1616f62488a71e472cbdf3d0dc03a6d65d (patch)
tree4c6be60716a589ef32606f67ba9736fd3859eb45 /doc
parent90c06b05b6c5a5d71e125700c2fe51dfb71073ea (diff)
downloadtestresources-cd86ed1616f62488a71e472cbdf3d0dc03a6d65d.tar.gz
TestResource -> TestResourceManager.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/example.py b/doc/example.py
index b656364..9c6977e 100644
--- a/doc/example.py
+++ b/doc/example.py
@@ -17,12 +17,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-"""Example TestResource."""
+"""Example TestResourceManager."""
-from testresources import TestResource
+from testresources import TestResourceManager
-class SampleTestResource(TestResource):
+class SampleTestResource(TestResourceManager):
setUpCost = 2
tearDownCost = 2
@@ -35,7 +35,7 @@ class MyResource(object):
"""My pet resource."""
-class SampleWithDependencies(TestResource):
+class SampleWithDependencies(TestResourceManager):
resources = [('foo', SampleTestResource()), ('bar', SampleTestResource())]