1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Delay import of freeze to make tests run (#1617)

* Delay import of freeze to make tests run

* fix flake8 error
This commit is contained in:
Alan Rominger 2018-03-20 11:58:11 -04:00 committed by GitHub
parent 6419339094
commit 8056ac5393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,14 @@
import os
import re
import pytest
from pip.operations import freeze
from django.conf import settings
@pytest.mark.skip(reason="This test needs some love")
def test_env_matches_requirements_txt():
from pip.operations import freeze
def check_is_in(src, dests):
if src not in dests:
print("%s not in" % src)