Fix flake8 E302 errors second round.

This commit is contained in:
Aaron Tan
2016-11-15 21:33:56 -05:00
parent 9e4655419e
commit 2d1a5425d1
20 changed files with 93 additions and 72 deletions

View File

@@ -12,11 +12,11 @@ from django.core.urlresolvers import reverse
from awx.conf.models import Setting
'''
Ensures that tests don't pick up dev container license file
'''
@pytest.fixture
def mock_no_license_file(mocker):
'''
Ensures that tests don't pick up dev container license file
'''
os.environ['AWX_LICENSE_FILE'] = '/does_not_exist'
return None