diff options
author | Kenn Knowles <kenn.knowles@gmail.com> | 2013-03-14 17:06:33 -0400 |
---|---|---|
committer | Kenn Knowles <kenn.knowles@gmail.com> | 2013-03-14 17:06:33 -0400 |
commit | adc0cee5403370573f497f83d0be2903b588399b (patch) | |
tree | ede7e50604c82cb73eb748ec5969e939ef7bc8ec | |
parent | c38c92865b411daaf4120c67edd17a77c6e9f23d (diff) | |
download | jsonpath-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.py | 13 |
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]']) - # ]) |