Remove some obsolete code.

This commit is contained in:
Bill Nottingham 2018-02-26 14:55:13 -05:00
parent 9493b72f29
commit 9c722cba22
5 changed files with 0 additions and 13 deletions

View File

@ -27,13 +27,6 @@ from awx.main.models.credential import CredentialType
from awx.main.models.rbac import RoleAncestorEntry
class MongoFilterBackend(BaseFilterBackend):
# FIX: Note that MongoEngine can't use the filter backends from DRF
def filter_queryset(self, request, queryset, view):
return queryset
class V1CredentialFilterBackend(BaseFilterBackend):
'''
For /api/v1/ requests, filter out v2 (custom) credentials

View File

@ -78,8 +78,6 @@ if is_testing(sys.argv):
}
}
MONGO_DB = 'system_tracking_test'
# Celery AMQP configuration.
CELERY_BROKER_URL = "amqp://{}:{}@{}/{}".format(os.environ.get("RABBITMQ_USER"),
os.environ.get("RABBITMQ_PASS"),

View File

@ -45,8 +45,6 @@ if is_testing(sys.argv):
}
}
MONGO_DB = 'system_tracking_test'
# Celery AMQP configuration.
BROKER_URL = 'amqp://guest:guest@localhost:5672'

View File

@ -7,6 +7,5 @@ addopts = --reuse-db --nomigrations --tb=native
markers =
ac: access control test
license_feature: ensure license features are accessible or not depending on license
mongo_db: drop mongodb test database before test runs
survey: tests related to survey feature
inventory_import: tests of code used by inventory import command

View File

@ -75,4 +75,3 @@ addopts = --reuse-db --nomigrations --tb=native
markers =
ac: access control test
license_feature: ensure license features are accessible or not depending on license
mongo_db: drop mongodb test database before test runs