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

RepoCleaner : Naming conventions and warnings #2477

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Barthelemy
Copy link
Collaborator

No description provided.

@Barthelemy Barthelemy changed the title [WIP ] Naming conventions and warnings RepoCleaner : Naming conventions and warnings Jan 7, 2025
@Barthelemy Barthelemy force-pushed the naming-conventions-and-warnings2 branch from 526a990 to 4a13d48 Compare January 7, 2025 12:59
self.assertEqual(stats["deleted"], 0)
self.assertEqual(stats["preserved"], 18)
self.assertEqual(stats["updated"], 0)
# def test_5_runs(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

is it intentionally commented out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes it is, and yes a comment should explain why. I will add it.

The reason is that running test_5_runs makes a lot of requests to the ccdb-test. If you run it along the rest, you will reach a limit and get requests denied by the server (rate limiting I guess). If you run it by itself it is fine. If you run the others without it, it is fine.

Not nice, I know. Possible solutions : sleep, use a mock (already ruled out), spawn a local database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants