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):
......
Supports Markdown
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