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:
parent
6419339094
commit
8056ac5393
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user