Skip to content

Commit

Permalink
Merge pull request #27 from hydroshare/set-private-test
Browse files Browse the repository at this point in the history
extend resource public test for setting private
  • Loading branch information
sblack-usu authored Sep 29, 2021
2 parents 493be02 + 21ec81c commit 9b681ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9b681ef

Please sign in to comment.