Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split APIv3 tests on different files #5911

Merged
merged 6 commits into from
Jul 16, 2019
Merged

Conversation

humitos
Copy link
Member

@humitos humitos commented Jul 11, 2019

Just a refactor to easily find the right test easily now that they are growing.

@humitos humitos requested a review from a team July 11, 2019 15:51
users=[],
versions=[],
)
# self.translation = fixture.get(Project, slug='translation')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this I guess

Copy link
Member

@stsewd stsewd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just did a quick review, looks good

# self.translation = fixture.get(Project, slug='translation')

self.project.add_subproject(self.subproject)
# self.project.add_translation(self.translation)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this one

project=self.project,
active=True,
built=True,
type='tag',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to get this from the readthedocs/projects/constants.py

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or builds/constants.py can't remember the exact file

'projects-versions-list',
kwargs={
'parent_lookup_project__slug': self.others_project.slug,
}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't match the indentation

@humitos humitos merged commit 39c0b56 into master Jul 16, 2019
@humitos humitos deleted the humitos/apiv3-split-tests branch July 16, 2019 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants