Skip to content

Commit 8007a7c

Browse files
committed
fix tests
1 parent 464af5d commit 8007a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/api/v3/tests/test_subprojects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_projects_subprojects_list_post_with_child_already_superproject(self):
140140
def test_projects_subprojects_list_post_with_child_already_subproject(self):
141141
newproject = self._create_new_project()
142142
self.assertEqual(newproject.subprojects.count(), 0)
143-
self.assertTrue(self.project.superprojects.exists())
143+
self.assertTrue(self.subproject.superprojects.exists())
144144
self.client.credentials(HTTP_AUTHORIZATION=f'Token {self.token.key}')
145145
data = {
146146
'child': self.subproject.slug,

0 commit comments

Comments
 (0)