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

Remove unnecessary code that cause test discovery failure in VSCode #14941

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fails when ran with vscode debugger
Tried to dig as to why we ever needed this and could not find the answer. We removed it and ran all the tests and the tests passed so assuming it's no longer needed.
chrismeyersfsu authored Feb 29, 2024
commit 044da61a6fffcb014d1f11f4a89a30360b6e829d
5 changes: 0 additions & 5 deletions awx/main/tests/settings_for_test.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# Python
from unittest import mock
import uuid

# patch python-ldap
with mock.patch('__main__.__builtins__.dir', return_value=[]):
import ldap # NOQA

# Load development settings for base variables.
from awx.settings.development import * # NOQA