Open
Conversation
added 5 commits
February 17, 2026 01:14
- Introduced multiple test files to cover various functionalities including authentication, database export to JSON, management of PyCamp, and voting logic. - Added tests for the `get_admins_username` function to ensure correct retrieval of admin usernames. - Implemented tests for the `export_db_2_json` function to validate the structure and content of the exported data. - Created tests for managing PyCamp instances, including activation and duration calculations. - Developed tests for the `Vote` model to ensure proper creation and counting of votes, including handling of unique constraints.
- Introduced multiple test files covering various functionalities including announcements, authentication, project management, voting, and wizard commands. - Implemented tests for user permissions, project lifecycle, and interaction with the database to ensure robust functionality. - Enhanced test coverage for asynchronous operations and mock interactions with the Telegram bot API.
- Created a new test to ensure that only admin users can execute the `/contar_votos` command. - Updated existing tests to include the admin username in the context for vote counting. - Enhanced the test suite to validate responses for both authorized and unauthorized users.
- Introduced a new test file for the `show_version` command in `devtools.py`, verifying the output for clean and dirty worktrees, as well as Sentry configuration. - Expanded tests in `manage_pycamp.py` to include scenarios for rejecting empty names, deactivating previous camps, and blocking non-admin users. - Added tests for listing participants in active camps, documenting a known bug in the process. - Enhanced overall test coverage for command functionalities and user permissions.
- Introduced two new tests to verify that when there are no available slots, the bot sends appropriate hints in plain text without MarkdownV2 formatting. - Updated the `aux_resolve_show_all` function to return true for no parameters and false for the 'futuros' argument, enhancing command behavior consistency. - These changes improve user experience by providing clearer feedback in scenarios with no available slots.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Para tener más de cobertura ahora que con la I.A. tiende a ser un poco mas fácil de mantener. Gracias a estos test se realizaron las fixes.