toulouse-maelis: [tests] empty activity referential into a test (#87625)
gitea/passerelle/pipeline/head This commit looks good Details

This commit is contained in:
Nicolas Roche 2024-02-29 16:04:28 +01:00
parent 3f584e13a7
commit fd91664b1e
1 changed files with 1 additions and 0 deletions

View File

@ -6890,6 +6890,7 @@ def test_read_activity_list_no_nature(activity_service, con, app, freezer):
)
url = get_endpoint('read-activity-list')
freezer.move_to('2024-02-29')
con.referential.filter(referential_name='Activity').delete()
con.update_catalog_referential()
resp = app.get(url)
assert resp.json['err'] == 0