Permalink
Browse files

fix tests

git-svn-id: https://svn.bluedynamics.eu/svn/module/bda.bfg.tile/trunk@2064 f119a143-da5b-4457-81e3-bee00661a780
  • Loading branch information...
1 parent 1615cc9 commit 4f2807da7409775449d0ffc92e1669df5855577e rnix committed May 2, 2010
Showing with 3 additions and 2 deletions.
  1. +1 −1 setup.py
  2. +2 −1 src/bda/bfg/tile/_api.txt
View
@@ -36,7 +36,7 @@
"http://dist.repoze.org/bfg/1.2/",
],
extras_require = dict(
- tests=['interlude']
+ test=['interlude']
),
tests_require=['interlude'],
test_suite="bda.bfg.tile.tests.test_suite",
@@ -30,7 +30,8 @@ The pure Tile itself. Normally you do not create this directly, this is done
due registration, see below.
::
- >>> mytile = Tile('bda.bfg.tile:testdata/tile1.pt', None)
+ >>> request.registry = get_current_registry()
+ >>> mytile = Tile('bda.bfg.tile:testdata/tile1.pt', 'render', 'foo')
>>> mytile(model, request)
u'<span>Tile One</span>'

0 comments on commit 4f2807d

Please sign in to comment.