-
Notifications
You must be signed in to change notification settings - Fork 42
Speed up testing #2954
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
base: main
Are you sure you want to change the base?
Speed up testing #2954
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover from previous PR
197b579 to
908a10e
Compare
| ordering.append("-created_date") | ||
| elif value == HOT: | ||
| ordering.append("-hot_score") | ||
| ordering.append("-hot_score_v2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover from previous PR
|
| self.user = create_random_default_user("cache_test_user") | ||
| self.hub, _ = Hub.objects.get_or_create( | ||
| @classmethod | ||
| def setUpTestData(cls): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method would run once instead before every test to ensure we aren't recreating test data that is unlikely to change
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |



No description provided.