From 18f10b9551aa6ad9affc9ddd1397a80959b31a9f Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 30 May 2024 12:39:49 -0500 Subject: [PATCH] Tests: set privacy level to public explicitly (#11375) * Tests: set privacy level to public explicitly Fixes tests on .com * Actually update the privacy level, damn copilot --- readthedocs/proxito/tests/test_hosting.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/readthedocs/proxito/tests/test_hosting.py b/readthedocs/proxito/tests/test_hosting.py index 09cafa8eee4..49ae3d1f205 100644 --- a/readthedocs/proxito/tests/test_hosting.py +++ b/readthedocs/proxito/tests/test_hosting.py @@ -279,12 +279,17 @@ def test_flyout_versions(self): ) def test_flyout_translations(self): - fixture.get( + translation_ja = fixture.get( Project, slug="translation", main_language_project=self.project, language="ja", ) + translation_ja.versions.update( + built=True, + active=True, + privacy_level=PUBLIC, + ) r = self.client.get( reverse("proxito_readthedocs_docs_addons"),