Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix tests

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

0 notes on commit 4f2807d

Please sign in to comment.
Something went wrong with that request. Please try again.