Skip to content

Commit c275bdb

Browse files
committed
Oops, wrong project
1 parent 9cd38b2 commit c275bdb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

readthedocs/proxito/tests/test_middleware.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,6 @@ def setUp(self):
233233
privacy_level=PUBLIC,
234234
urlconf='subpath/$subproject/$version/$language/$filename' # Flipped
235235
)
236-
self.testing_version = get(
237-
Version,
238-
slug='testing',
239-
project=self.pip,
240-
built=True,
241-
active=True,
242-
)
243236
self.pip.versions.update(privacy_level=PUBLIC)
244237
self.subproject = get(
245238
Project,
@@ -249,6 +242,13 @@ def setUp(self):
249242
privacy_level=PUBLIC,
250243
main_language_project=None,
251244
)
245+
self.testing_version = get(
246+
Version,
247+
slug='testing',
248+
project=self.subproject,
249+
built=True,
250+
active=True,
251+
)
252252
self.subproject.versions.update(privacy_level=PUBLIC)
253253
self.relationship = get(
254254
ProjectRelationship,

0 commit comments

Comments
 (0)