Skip to content
Snippets Groups Projects

Draft: Tests for non-purge delete

Open I. Nüske requested to merge f-delete-tests into main
2 unresolved threads
4 files
+ 9
30
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -70,10 +70,7 @@ class TestClassPurgeFDO: # pylint: disable=fixme
self.assertions_helper(response, query_time, return_time)
finally:
for url in urls:
try:
man_util.purge_fdo(url)
except Exception: # pylint: disable=broad-exception-caught
pass
man_util.purge_fdo(url)
@pytest.mark.parametrize("service_url", [pytest.param(service["url"], marks=[
pytest.mark.dependency(scope='session', depends=[
@@ -112,10 +109,7 @@ class TestClassPurgeFDO: # pylint: disable=fixme
self.assertions_helper(response, query_time, return_time)
finally:
for url in urls:
try:
man_util.purge_fdo(url)
except Exception: # pylint: disable=broad-exception-caught
pass
man_util.purge_fdo(url)
@pytest.mark.parametrize("service_url", [pytest.param(service["url"], marks=[
pytest.mark.dependency(scope='session', depends=[
@@ -232,9 +226,6 @@ class TestClassPurgeFDOChecks: # pylint: disable=fixme
assert response.status_code == HTTPStatus.NOT_FOUND
finally:
for url in urls:
try:
man_util.purge_fdo(url)
except Exception: # pylint: disable=broad-exception-caught
pass
man_util.purge_fdo(url)
if not any_checks_made:
pytest.skip('No checks with outside systems were possible.')
Loading