blob: 8f6d06bb6ca098a51d851d4f4d352b3303dfce13 [file] [log] [blame]
Ali Afshar02b5f3f2012-09-06 08:43:10 -07001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13"""Test Package set up."""
INADA Naokid898a372015-03-04 03:52:46 +090014from __future__ import absolute_import
Ali Afshar02b5f3f2012-09-06 08:43:10 -070015
16__author__ = 'afshar@google.com (Ali Afshar)'
17
Jon Wayne Parrott36d4e1b2016-10-17 13:31:33 -070018
19# Oauth2client < 3 has the positional helper in 'util', >= 3 has it
20# in '_helpers'.
21try:
22 from oauth2client import util
23except ImportError:
24 from oauth2client import _helpers as util
25
Ali Afshar02b5f3f2012-09-06 08:43:10 -070026
27def setup_package():
28 """Run on testing package."""
Jon Wayne Parrott36d4e1b2016-10-17 13:31:33 -070029 util.positional_parameters_enforcement = 'EXCEPTION'