From 5f799aa16b2bfd35fc68073e73b85cf9ad75ba47 Mon Sep 17 00:00:00 2001 From: Nathaniel Manista Date: Tue, 16 Feb 2016 23:04:52 +0000 Subject: [PATCH] Use symbolic constant rather than literal value --- tests/__init__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index bca609d..5f6567c 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -10,14 +10,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Test Package set up.""" - -import oauth2client.util +"""Test package set-up.""" +from oauth2client import util __author__ = 'afshar@google.com (Ali Afshar)' def setup_package(): """Run on testing package.""" - oauth2client.util.positional_parameters_enforcement = 'EXCEPTION' + util.positional_parameters_enforcement = util.POSITIONAL_EXCEPTION