Merge "Update hacking version to latest"

This commit is contained in:
Zuul 2019-02-11 13:20:31 +00:00 committed by Gerrit Code Review
commit 7d43228214
2 changed files with 6 additions and 7 deletions

View File

@ -5,7 +5,7 @@
bandit>=1.1.0 # Apache-2.0 bandit>=1.1.0 # Apache-2.0
Babel!=2.4.0,>=2.3.4 # BSD Babel!=2.4.0,>=2.3.4 # BSD
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 hacking>=1.1.0,<1.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD mock>=2.0.0 # BSD
funcsigs>=1.0.0;python_version=='2.7' or python_version=='2.6' # Apache-2.0 funcsigs>=1.0.0;python_version=='2.7' or python_version=='2.6' # Apache-2.0

View File

@ -16,15 +16,18 @@
# limitations under the License. # limitations under the License.
import base64 import base64
import datetime
import email.header import email.header
import mock
import smtplib import smtplib
import socket import socket
import time import time
import mock
import six import six
import datetime from monasca_notification.notification import Notification
from monasca_notification.plugins import email_notifier
from tests import base
if six.PY2: if six.PY2:
import urlparse import urlparse
@ -32,10 +35,6 @@ else:
from urllib import parse from urllib import parse
from urllib.parse import urlparse from urllib.parse import urlparse
from monasca_notification.notification import Notification
from monasca_notification.plugins import email_notifier
from tests import base
UNICODE_CHAR = six.unichr(2344) UNICODE_CHAR = six.unichr(2344)
UNICODE_CHAR_ENCODED = UNICODE_CHAR.encode("utf-8") UNICODE_CHAR_ENCODED = UNICODE_CHAR.encode("utf-8")