From 21ec81c7824f7276073406753c50bdc96f5f857a Mon Sep 17 00:00:00 2001 From: Scott Black Date: Wed, 29 Sep 2021 14:37:42 -0600 Subject: [PATCH] extend resource public test for setting private --- tests/test_functional.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_functional.py b/tests/test_functional.py index 791bdb0..c7dcd6c 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -602,3 +602,5 @@ def test_resource_public(resource): assert resource.system_metadata()['public'] is False resource.set_sharing_status(public=True) assert resource.system_metadata()['public'] is True + resource.set_sharing_status(public=False) + assert resource.system_metadata()['public'] is False