Skip to content
Snippets Groups Projects
Verified Commit 67a1fb83 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

test: searching for yay now returns a ruby package

Make the search term more likely to return nothing at all.
parent c8d9eeb1
No related branches found
Tags 0.10.3
No related merge requests found
Pipeline #92934 failed
......@@ -66,20 +66,20 @@ def get_db_pkgcache():
def test_localdb_segfault():
localdb = get_localdb()
collect()
x = localdb.search('yay')
x = localdb.search('thiscannotbefoundatall')
assert x == []
def test_syncdb_segfault():
syncdb = get_syncdb()
collect()
assert syncdb.search('yay') == []
assert syncdb.search('thiscannotbefoundatall') == []
def test_register_syncdb_segfault():
syncdb = register_syncdb()
collect()
assert syncdb.search('yay') == []
assert syncdb.search('thiscannotbefoundatall') == []
# Package tests, where the DB goes out of scope
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment