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
3 files
+ 6
15
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -37,8 +37,7 @@ class TestClassCreateFDO: # pylint: disable=fixme
f'{PATH_LISTREPO}test_http_repositories[{service["url"]}]'])])
for service in services])
def test_http_create_fdo(self, service_url: str):
"""Tests creation of a fdo with a post request, adds data on
created fdos to created_fdos[<service>].
"""Tests creation of a fdo with a post request.
Parameters
----------
@@ -80,8 +79,7 @@ class TestClassCreateFDO: # pylint: disable=fixme
for service in services])
def test_client_create_fdo(self, service_url: str):
"""Tests creation of a fdo with an unauthenticated client using
assertions_helper(). Adds the locations of created fdos to
created_fdos[<service>].
assertions_helper().
Parameters
----------
@@ -340,7+338,7 @@
Parameters
----------
url : str
URL of the API endpoint of the handle system,
for example "https://hdl.handle.net/api/handles/"
pid : str
PID of the fdo to be checked, including prefix and suffix.
Loading