We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 130eed1 commit 1234c3eCopy full SHA for 1234c3e
setup.cfg
@@ -4,6 +4,3 @@ test=pytest
4
5
[bdist_wheel]
6
universal = 1
7
-
8
-[semantic_release]
9
-version_variable = werobot/__init__.py:__version__
tests/test_robot.py
@@ -2,7 +2,6 @@
2
3
import hashlib
import time
-import six
import os
import pytest
@@ -34,8 +33,7 @@ def test_signature_checker():
34
33
sign = [token, timestamp, nonce]
35
sign.sort()
36
sign = ''.join(sign)
37
- if six.PY3:
38
- sign = sign.encode()
+ sign = sign.encode()
39
sign = hashlib.sha1(sign).hexdigest()
40
41
assert robot.check_signature(timestamp, nonce, sign)
werobot/__init__.py
@@ -1,4 +1,4 @@
1
-__version__ = '1.10.1'
+__version__ = '1.11.0'
__author__ = 'whtsky'
__license__ = 'MIT'
0 commit comments