~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/browser/tests/distribution-views.txt

[r=henninge][bug=455803] Handle +search urls with more than one text
        parameter value

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    >>> distro_pkg_search_view.text
124
124
    'a'
125
125
 
 
126
If there is more than one text parameter value, the last one is used.
 
127
 
 
128
    >>> distro_pkg_search_view = create_initialized_view(
 
129
    ...     ubuntu, name="+search",
 
130
    ...     form={'text': ['a','b']},
 
131
    ...     query_string='text=a&text=b')
 
132
    >>> distro_pkg_search_view.text
 
133
    'b'
126
134
 
127
135
Exact matches
128
136
.............