Skip to content

Commit

Permalink
Tests: set privacy level explicitly (#10854)
Browse files Browse the repository at this point in the history
In #10852
I forgot that we actually need to set the privacy level of the
version, not the project.
  • Loading branch information
stsewd authored Oct 20, 2023
1 parent 082d84f commit aa3c3e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/proxito/tests/test_hosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def test_project_subproject(self):
repo="https://github.com/readthedocs/subproject",
privacy_level=PUBLIC,
)
subproject.versions.update(privacy_level=PUBLIC, built=True, active=True)
self.project.add_subproject(subproject)

r = self.client.get(
Expand Down

0 comments on commit aa3c3e6

Please sign in to comment.