Commit 6ad5c00e by Őry Máté

dashboard: more compact doctest

parent cdf10bc0
......@@ -191,16 +191,13 @@ class FilterMixin(object):
>>> f = FilterMixin()
>>> o = f._parse_get({'s': "hello"}).items()
>>> o.sort()
>>> o # doctest: +ELLIPSIS
>>> sorted(o) # doctest: +ELLIPSIS
[(u'name', u'hello'), (...)]
>>> o = f._parse_get({'s': "name:hello owner:test"}).items()
>>> o.sort()
>>> o # doctest: +ELLIPSIS
>>> sorted(o) # doctest: +ELLIPSIS
[(u'name', u'hello'), (u'owner', u'test'), (...)]
>>> o = f._parse_get({'s': "name:hello ws node:node 3 oh"}).items()
>>> o.sort()
>>> o # doctest: +ELLIPSIS
>>> sorted(o) # doctest: +ELLIPSIS
[(u'name', u'hello ws'), (u'node', u'node 3 oh'), (...)]
"""
s = GET_dict.get("s")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment