Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Nov 3, 2010
1 parent 1738f2f commit 656d83f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/grokcore/json/ftests/json/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@

import grokcore.json as grok


class Cave(grok.Context):
pass


class CaveJSON(grok.JSON):
def show(self):
return 'A Cavemans cave'
3 changes: 2 additions & 1 deletion src/grokcore/json/tests/json/json_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
The JSON grokker registers a view for each method of the JSON class. These
"method" views support layers and skins.
>>> grok.testing.grok(__name__)
>>> from grokcore.json import testing
>>> testing.grok(__name__)
>>> mammoth = Mammoth()
>>> from zope.component import getMultiAdapter
>>> from zope.publisher.browser import TestRequest
Expand Down

0 comments on commit 656d83f

Please sign in to comment.