Skip to content

Commit aa3c3e6

Browse files
authored
Tests: set privacy level explicitly (#10854)
In #10852 I forgot that we actually need to set the privacy level of the version, not the project.
1 parent 082d84f commit aa3c3e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readthedocs/proxito/tests/test_hosting.py

+1
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ def test_project_subproject(self):
410410
repo="https://github.com/readthedocs/subproject",
411411
privacy_level=PUBLIC,
412412
)
413+
subproject.versions.update(privacy_level=PUBLIC, built=True, active=True)
413414
self.project.add_subproject(subproject)
414415

415416
r = self.client.get(

0 commit comments

Comments
 (0)