From 3c53ff642deb5f33efc0783542ec03c2cd835713 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Sun, 25 Sep 2016 00:06:03 -0400 Subject: [PATCH] Fixed double quotes to single quotes in the tests package. --- tests/__init__.py | 4 ++-- tests/constants.py | 4 ++-- tests/context.py | 4 ++-- tests/test_apex.py | 4 ++-- tests/test_aprs.py | 6 +++--- tests/test_kiss.py | 4 ++-- tests/test_kiss_util.py | 4 ++-- tests/test_util.py | 9 ++++----- 8 files changed, 19 insertions(+), 20 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index b246319..ce3c659 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -6,8 +6,8 @@ from __future__ import division from __future__ import print_function __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] diff --git a/tests/constants.py b/tests/constants.py index 640de7a..b28aa9f 100644 --- a/tests/constants.py +++ b/tests/constants.py @@ -9,8 +9,8 @@ from __future__ import division from __future__ import print_function __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] diff --git a/tests/context.py b/tests/context.py index 19496de..a26a5a8 100644 --- a/tests/context.py +++ b/tests/context.py @@ -12,8 +12,8 @@ import os import sys __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] diff --git a/tests/test_apex.py b/tests/test_apex.py index 3f82e2e..c0c4266 100644 --- a/tests/test_apex.py +++ b/tests/test_apex.py @@ -4,8 +4,8 @@ from __future__ import division from __future__ import print_function __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] diff --git a/tests/test_aprs.py b/tests/test_aprs.py index e2a6e2f..aa8cf7f 100644 --- a/tests/test_aprs.py +++ b/tests/test_aprs.py @@ -21,8 +21,8 @@ if sys.version_info < (3, 0): import httpretty __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] @@ -76,7 +76,7 @@ class AprsTest(unittest.TestCase): # pylint: disable=R0904 self.real_callsign = '-'.join(['W2GMD', self.random(1, '123456789')]) self.logger.debug( - "fake_server=%s fake_callsign=%s", + 'fake_server=%s fake_callsign=%s', self.fake_server, self.fake_callsign ) diff --git a/tests/test_kiss.py b/tests/test_kiss.py index 80fc6e0..e8406e3 100644 --- a/tests/test_kiss.py +++ b/tests/test_kiss.py @@ -18,8 +18,8 @@ import apex.kiss.util from . import constants __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] diff --git a/tests/test_kiss_util.py b/tests/test_kiss_util.py index c887fb2..3d584a4 100644 --- a/tests/test_kiss_util.py +++ b/tests/test_kiss_util.py @@ -13,8 +13,8 @@ import unittest from . import constants __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] diff --git a/tests/test_util.py b/tests/test_util.py index 354e454..06b7905 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -16,8 +16,8 @@ import apex.aprs.util from apex.aprs import constants as aprsConstants __author__ = 'Jeffrey Phillips Freeman (WI2ARD)' -__maintainer__ = "Jeffrey Phillips Freeman (WI2ARD)" -__email__ = "jeffrey.freeman@syncleus.com" +__maintainer__ = 'Jeffrey Phillips Freeman (WI2ARD)' +__email__ = 'jeffrey.freeman@syncleus.com' __license__ = 'Apache License, Version 2.0' __copyright__ = 'Copyright 2016, Syncleus, Inc. and contributors' __credits__ = [] @@ -177,8 +177,7 @@ class AprsUtilTestCase(unittest.TestCase): # pylint: disable=R0904 Tests valid callsigns using `aprs.util.valid_callsign()`. """ for i in VALID_CALLSIGNS: - self.assertTrue( - apex.aprs.util.valid_callsign(i), "%s is a valid call" % i) + self.assertTrue(apex.aprs.util.valid_callsign(i), '%s is a valid call' % i) def test_valid_callsign_invalid(self): """ @@ -186,7 +185,7 @@ class AprsUtilTestCase(unittest.TestCase): # pylint: disable=R0904 """ for i in INVALID_CALLSIGNS: self.assertFalse( - apex.aprs.util.valid_callsign(i), "%s is an invalid call" % i) + apex.aprs.util.valid_callsign(i), '%s is an invalid call' % i) def test_decode_aprs_ascii_frame(self): """ -- GitLab