In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

This Server has been upgraded to GitLab release 14.2.6

Unverified Commit 830ec549 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix tests

parent 99b57fc0
Pipeline #16775 passed with stages
in 4 minutes and 17 seconds
......@@ -38,12 +38,12 @@ class Test(TestCase):
def test__get_access_status_if_resource_is_private(self):
access_status = MediametadataToDB._get_access_status(
Test._load_file_and_get_res('BAB-PA_43-BAB_MC169A.json', lambda x: x))
Test._load_file_and_get_res('BAB-PA_43-BAB_MC169A.json', lambda x: x), 'some_rec')
self.assertEqual(access_status, 'closed')
def test__get_access_status_if_resource_is_public(self):
access_status = MediametadataToDB._get_access_status(
Test._load_file_and_get_res('mfk-FLM-167202.json', lambda x: x))
Test._load_file_and_get_res('mfk-FLM-167202.json', lambda x: x), 'some_rec')
self.assertEqual(access_status, 'public')
def test__get_values_from_inaccessible_digital_object(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment