progress
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
12413e78d3
commit
45a7ccf97b
|
@ -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;")
|
||||||
|
|
Loading…
Reference in New Issue