PEP8 - line length

This commit is contained in:
Ernesto Ocampo 2017-02-25 19:21:43 +00:00
parent 1a31c9ab4f
commit f440518d13
1 changed files with 9 additions and 4 deletions

View File

@ -302,25 +302,30 @@ class TestJsonpath_rw_ext(testscenarios.WithScenarios,
('boolean-filter-true', dict(
string='foo[?flag = true].color',
data={'foo': [{"color": "blue", "flag": True}, {"color": "green", "flag": False}]},
data={'foo': [{"color": "blue", "flag": True},
{"color": "green", "flag": False}]},
target=['blue']
)),
('boolean-filter-false', dict(
string='foo[?flag = false].color',
data={'foo': [{"color": "blue", "flag": True}, {"color": "green", "flag": False}]},
data={'foo': [{"color": "blue", "flag": True},
{"color": "green", "flag": False}]},
target=['green']
)),
('boolean-filter-other-datatypes-involved', dict(
string='foo[?flag = true].color',
data={'foo': [{"color": "blue", "flag": True}, {"color": "green", "flag": 2}, {"color": "red", "flag": "hi"}]},
data={'foo': [{"color": "blue", "flag": True},
{"color": "green", "flag": 2},
{"color": "red", "flag": "hi"}]},
target=['blue']
)),
('boolean-filter-string-true-string-literal', dict(
string='foo[?flag = "true"].color',
data={'foo': [{"color": "blue", "flag": True}, {"color": "green", "flag": "true"}]},
data={'foo': [{"color": "blue", "flag": True},
{"color": "green", "flag": "true"}]},
target=['green']
)),
]