We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6693f58 commit 08187edCopy full SHA for 08187ed
tests/test_communities/test_community_requests.py
@@ -1,6 +1,7 @@
1
import pytest
2
from pytest_oarepo.communities.functions import invite
3
from pytest_oarepo.requests.functions import get_request_type
4
+from thesis.records.api import ThesisRecord
5
6
from oarepo_communities.errors import (
7
CommunityAlreadyIncludedException,
@@ -136,8 +137,9 @@ def test_community_delete(
136
137
link2testclient=link2testclient,
138
) # owner can
139
140
+ ThesisRecord.index.refresh()
141
resp_record = owner_client.get(f"/thesis/{record_id}")
- resp_search = owner_client.get(f"/thesis/")
142
+ resp_search = owner_client.get("/thesis/")
143
144
# record was published
145
assert resp_record.status_code == 410
0 commit comments