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

Fix DeprecationWarnings #9113

Merged
merged 1 commit into from Dec 22, 2023
Merged

Conversation

kiblik
Copy link
Contributor

@kiblik kiblik commented Dec 5, 2023

  • /app/dojo/models.py:2566: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
  • ... DeprecationWarning: It is deprecated to return a value that is not None from a test case
  • /app/unittests/tools/test_stackhawk_parser.py:243: DeprecationWarning: Please use assertRegex instead.

Copy link

dryrunsecurity bot commented Dec 5, 2023

Contextual Security Analysis

As DryRun Security performs checks, we’ll summarize them here. You can always dive into the results in the section below for checks.

Status DryRun Security Check
AI-powered Sensitive Function Check
Configured Sensitive Files Check
AI-powered Sensitive Files Check

Chat with your AI-powered Security Buddy by typing /dryrunsec: (or /drs:) followed by your question. Example: /dryrunsec: From a security perspective, what are some sensitive files in an Express application?

Install and configure more repositories at DryRun Security

@kiblik kiblik marked this pull request as ready for review December 5, 2023 16:57
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

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

Approved

@Maffooch Maffooch merged commit 14d25b4 into DefectDojo:dev Dec 22, 2023
118 of 119 checks passed
@kiblik kiblik deleted the fix_DeprecationWarnings branch December 25, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants