progress
gitea/wcs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pierre Ducroquet 2024-03-05 11:29:18 +01:00
parent 12413e78d3
commit 45a7ccf97b
1 changed files with 2 additions and 2 deletions

View File

@ -1200,14 +1200,14 @@ def test_search_tokens_purge(pub):
assert cur.fetchone()[0] == 116 assert cur.fetchone()[0] == 116
t = data_class() t = data_class()
t.data = {'3': 'foo'} t.data = {'3': 'foofortokensofcourse'}
t.just_created() t.just_created()
t.store() t.store()
cur.execute("SELECT count(*) FROM wcs_search_tokens;") cur.execute("SELECT count(*) FROM wcs_search_tokens;")
assert cur.fetchone()[0] == 117 assert cur.fetchone()[0] == 117
t.data = {'3': 'chaussette'} t.data = {'3': 'chaussettefortokensofcourse'}
t.store() t.store()
cur.execute("SELECT count(*) FROM wcs_search_tokens;") cur.execute("SELECT count(*) FROM wcs_search_tokens;")