From aa3c3e6d95cdf7fa56907b86a13f9711766d26f0 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 19 Oct 2023 23:05:27 -0500 Subject: [PATCH] Tests: set privacy level explicitly (#10854) In https://github.com/readthedocs/readthedocs.org/pull/10852 I forgot that we actually need to set the privacy level of the version, not the project. --- readthedocs/proxito/tests/test_hosting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/readthedocs/proxito/tests/test_hosting.py b/readthedocs/proxito/tests/test_hosting.py index 8dde0c202fd..fbe731bd8af 100644 --- a/readthedocs/proxito/tests/test_hosting.py +++ b/readthedocs/proxito/tests/test_hosting.py @@ -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(