Compare commits

..

1 Commits

Author SHA1 Message Date
Pierre Ducroquet 7dc8fe49b7 sql: test purge of search tokens (#86527)
gitea/wcs/pipeline/head This commit looks good Details
2024-04-22 14:07:46 +02:00
1 changed files with 4 additions and 4 deletions

View File

@ -1197,9 +1197,9 @@ def test_search_tokens_purge(pub):
sql.purge_obsolete_search_tokens()
# make sure the existing situation is clean for the test
assert not(token_exists('tableselectftstoken'))
assert not(token_exists('foofortokensofcours'))
assert not(token_exists('chaussettefortokensofcours'))
assert not (token_exists('tableselectftstoken'))
assert not (token_exists('foofortokensofcours'))
assert not (token_exists('chaussettefortokensofcours'))
# define a new table
test_formdef = FormDef()
@ -1226,7 +1226,7 @@ def test_search_tokens_purge(pub):
sql.purge_obsolete_search_tokens()
assert not(token_exists('foofortokensofcours'))
assert not (token_exists('foofortokensofcours'))
assert token_exists('chaussettefortokensofcours')