summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenn Knowles <kenn.knowles@gmail.com>2013-03-14 17:06:33 -0400
committerKenn Knowles <kenn.knowles@gmail.com>2013-03-14 17:06:33 -0400
commitadc0cee5403370573f497f83d0be2903b588399b (patch)
treeede7e50604c82cb73eb748ec5969e939ef7bc8ec
parentc38c92865b411daaf4120c67edd17a77c6e9f23d (diff)
downloadjsonpath-rw-adc0cee5403370573f497f83d0be2903b588399b.tar.gz
Remove unused test for hack that is going to go in client not this library
-rw-r--r--tests/test_jsonpath.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test_jsonpath.py b/tests/test_jsonpath.py
index 872f16e..3de2129 100644
--- a/tests/test_jsonpath.py
+++ b/tests/test_jsonpath.py
@@ -83,16 +83,3 @@ class TestJsonPath(unittest.TestCase):
def test_descendants_paths(self):
self.check_paths([('foo..baz', {'foo': {'baz': 1, 'bing': {'baz': 2}}}, ['foo.baz', 'foo.bing.baz'] )])
- #
- # And a final hack... the field "id" should always return the path of the queryset if it is not present in the object...
- #
- #def test_magic_id(self):
- # self.check_cases([
- # ('id', {'id': 'baz'}, ['baz']),
- # ('id', {}, '@'),
- #('id', {}, '@'),
- # ('foo.id', {'foo': {}}, ['foo']),
- # ('foo[*].id', {'foo': {}}, 'foo[0]'),
- # ('foo.baz.id', {'foo': {'baz': {}}}, ['foo.baz']),
- # ('foo.id', [{'foo': {}}, {'foo': {}}], ['foo[0]', 'foo[1]'])
- # ])