fix test, search was not specific enough

This commit is contained in:
Sean McArthur 2011-10-05 14:26:05 -05:00
Родитель 1bed90ae7d
Коммит f23e0c18c8
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -176,17 +176,17 @@ class PackageHelperSearchTest(MappedESTestCase):
eq_(1, len(data))
def test_type_facet_filter(self):
""")
"""
Type facet should not have a type filter in it's facet_filter.
"""
buzz = create_addon('buzz lightyear')
buzz.latest.set_version('Infinity')
toystory = create_library('the toy story')
toystory = create_library('the toy story buzz')
toystory.latest.set_version('1')
self.es.refresh()
data = package_search(type='a')
data = package_search('buzz', type='a')
eq_(1, len(data))