8000 Remove unused test for hack that is going to go in client not this li… · lina1/python-jsonpath-rw@adc0cee · GitHub
[go: up one dir, main page]

Skip to content

Commit adc0cee

Browse files
committed
Remove unused test for hack that is going to go in client not this library
1 parent c38c928 commit adc0cee

File tree

< 8000 button data-component="IconButton" type="button" data-testid="expand-file-tree-button" aria-expanded="false" aria-controls="diff_file_tree" class="prc-Button-ButtonBase-c50BI d-md-none position-relative fgColor-muted prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Rqatdab:-loading-announcement" aria-labelledby=":R2atdab:">

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/test_jsonpath.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,3 @@ def test_child_paths(self):
8383
def test_descendants_paths(self):
8484
self.check_paths([('foo..baz', {'foo': {'baz': 1, 'bing': {'baz': 2}}}, ['foo.baz', 'foo.bing.baz'] )])
8585

86-
#
87-
# And a final hack... the field "id" should always return the path of the queryset if it is not present in the object...
88-
#
89-
#def test_magic_id(self):
90-
# self.check_cases([
91-
# ('id', {'id': 'baz'}, ['baz']),
92-
# ('id', {}, '@'),
93-
#('id', {}, '@'),
94-
# ('foo.id', {'foo': {}}, ['foo']),
95-
# ('foo[*].id', {'foo': {}}, 'foo[0]'),
96-
# ('foo.baz.id', {'foo': {'baz': {}}}, ['foo.baz']),
97-
# ('foo.id', [{'foo': {}}, {'foo': {}}], ['foo[0]', 'foo[1]'])
98-
# ])

0 commit comments

Comments
 (0)
0