[WIP] Audit and Refactor Tests to Follow Pytest Conventions#3
Draft
Copilot wants to merge 166 commits into
Draft
[WIP] Audit and Refactor Tests to Follow Pytest Conventions#3Copilot wants to merge 166 commits into
Copilot wants to merge 166 commits into
Conversation
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
… pytest conventions Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Copilot stopped work on behalf of
crcrewso due to an error
May 25, 2025 19:00
…qatrackplus#678) Christoph Gohlke retired the lfd.uci.edu/~gohlke/pythonlibs/ listing; the maintained Windows wheels for python-ldap now live under https://github.com/cgohlke/python-ldap-build/releases. Update the three install docs that pointed at the old URL.
…dap-wheels-link - Documentation Only This commit is documentation only, does not modify requirements.txt docs(install): update Windows python-ldap wheels link to cgohlke fork (qatrackplus#678)
Created CodeQL workflow to check code quality.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Added CodeQL workflow configuration
This updates the main repository README.md to a more personal introduction to the project, including upcoming license changes.
Fixes `BaseReport.make_url(...)` to handle the case where both domain ends with "/" and url ends with "/". Previous to this fix, links could be generated with "//" in them, rendering them unusable.
Resolves issue qatrackplus#568
Some selenium tests not working admin page is a mess
Updated to re_path, prep for django 4+ default_app_configuration no longer needed default_app_config no longer needed 2 default auto field change for db models internalizing admin_views for maintanability internalize form_utils missed updates missed find_elements function change in prev commit
…inheritance, add proper URL patterns, add permission checks, create template, and add tests
…precated django-admin-views package which has been replaced with class-based views. Tests are kept commented for reference during migration.
…ntation support context"
…cated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo.
Fixed regression in views: Admin -> QC -> Statuses (admin/qa/testinstancestatus/) Admin -> Service Log -> Service Event Statuses (admin/service_log/serviceeventstatus/)
Owner
|
@copilot this was great work, but could you rebase it off of the current develop branch |
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
… pytest conventions Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
Co-authored-by: crcrewso <6089951+crcrewso@users.noreply.github.com>
…05c-3df2fd774dcc' into copilot/fix-4b805f75-fa17-47f9-b05c-3df2fd774dcc
Author
Updated the branch onto the current |
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.
I've completed refactoring the notification tests to follow pytest conventions. The main changes in this commit:
In
qatrack/notifications/qccompleted/test_qcc.py:In
qatrack/notifications/service_log_scheduling/test_sls.py:These changes complete the conversion of all specified test files to pytest conventions, focusing on:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.