Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion openprocurement/chronograph/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
from requests.structures import CaseInsensitiveDict
from requests.utils import get_encoding_from_headers
from openprocurement.chronograph.scheduler import SESSION
from openprocurement.api.utils import VERSION

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Для зворотньої сумісності можна помістити цей import в try/except ImportError

from time import sleep
try:
from openprocurement.api.constants import VERSION
except ImportError:
from openprocurement.api.utils import VERSION
try:
from openprocurement.tender.belowthreshold.tests.base import test_tender_data
except ImportError:
Expand Down
4 changes: 2 additions & 2 deletions versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ tzlocal = 1.1.2

# Added by buildout at 2015-10-21 12:32:55.166854
APScheduler = 3.0.1
cffi = 1.2.1
cryptography = 1.0.2
cffi = 1.4.1
cryptography = 1.2.3
idna = 2.0
pyOpenSSL = 0.15.1

Expand Down