Big refactor to become more PEP8 compliant.
Mostly focused on docstrings (''' → """), indentation, empty lines,
and superfluous parenthesis.
diff --git a/tests/test_strings.py b/tests/test_strings.py
index c4ee4c4..541b317 100644
--- a/tests/test_strings.py
+++ b/tests/test_strings.py
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-'''Tests string operations.'''
+"""Tests string operations."""
from __future__ import absolute_import
@@ -24,13 +24,12 @@
from constants import unicode_string
-class StringTest(unittest.TestCase):
+class StringTest(unittest.TestCase):
def setUp(self):
(self.pub, self.priv) = rsa.newkeys(384)
def test_enc_dec(self):
-
message = unicode_string.encode('utf-8')
print("\tMessage: %s" % message)
@@ -41,4 +40,3 @@
print("\tDecrypted: %s" % decrypted)
self.assertEqual(message, decrypted)
-