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

added assert #2

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

added assert #2

wants to merge 2 commits into from

Conversation

joshuaostrom-cb
Copy link
Owner

Testing SARIF

Copy link
Owner Author

@joshuaostrom-cb joshuaostrom-cb left a comment

Choose a reason for hiding this comment

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

Please correct the security issues identified by Salus

@@ -46,6 +46,7 @@ def __init__(self, queue_name='default', queue=None, interval=60, connection=Non
if isinstance(queue_class, string_types):
self.queue_class_name = queue_class
self.queue_class = backend_class(self, 'queue_class', override=queue_class)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Copy link
Owner Author

@joshuaostrom-cb joshuaostrom-cb left a comment

Choose a reason for hiding this comment

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

Salus Security Report

8 Security Exceptions were found

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/rq_scheduler/scheduler.py#L48-L50

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/tests/__init__.py#L14-L15

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/tests/__init__.py#L68-L70

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/tests/test_scheduler.py#L501-L503

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/test_scheduler.py#L502-L504

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/tests/test_scheduler.py#L503-L505

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/tests/test_scheduler.py#L501-L503

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

https://github.com/joshua-ostrom/rq-scheduler/blob/aed0cd375a6e4185b05c5ed9c665f068898d79fb/tests/test_scheduler.py#L536-L538

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.

Confidence Severity Rule
HIGH LOW B101

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

Successfully merging this pull request may close these issues.

1 participant