We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464af5d commit 8007a7cCopy full SHA for 8007a7c
readthedocs/api/v3/tests/test_subprojects.py
@@ -140,7 +140,7 @@ def test_projects_subprojects_list_post_with_child_already_superproject(self):
140
def test_projects_subprojects_list_post_with_child_already_subproject(self):
141
newproject = self._create_new_project()
142
self.assertEqual(newproject.subprojects.count(), 0)
143
- self.assertTrue(self.project.superprojects.exists())
+ self.assertTrue(self.subproject.superprojects.exists())
144
self.client.credentials(HTTP_AUTHORIZATION=f'Token {self.token.key}')
145
data = {
146
'child': self.subproject.slug,
0 commit comments