summaryrefslogtreecommitdiff
path: root/test/test_transforms
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-06-27 22:05:07 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-06-27 22:05:07 +0000
commit93fbf6330205a3d66a55d4ed57b5f183528ac111 (patch)
treeea1ee1e0babd7c6437a21a2a7eabee0366d6d8a2 /test/test_transforms
parentb8fad6a8d7f091ac515f9de12fbe62abe2f5751d (diff)
downloaddocutils-93fbf6330205a3d66a55d4ed57b5f183528ac111.tar.gz
added assert to make sure the kwargs get passed to apply()
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3613 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_transforms')
-rwxr-xr-xtest/test_transforms/test___init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_transforms/test___init__.py b/test/test_transforms/test___init__.py
index 6ea982d2e..a126d8854 100755
--- a/test/test_transforms/test___init__.py
+++ b/test/test_transforms/test___init__.py
@@ -22,7 +22,7 @@ class TestTransform(transforms.Transform):
def apply(self, **kwargs):
self.applied += 1
- self.kwargs = kwargs
+ assert kwargs == {'foo': 42}
class KwargsTestCase(unittest.TestCase):