aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNathaniel Manista <nathaniel@google.com>2016-02-17 08:40:18 -0800
committerNathaniel Manista <nathaniel@google.com>2016-02-17 08:40:18 -0800
commit32de1342e656362dc75d3dd13a3a99a9496bebe6 (patch)
treedb3a90af0b2ab689c4cae5a40916c0f5e0c4e71c /tests
parent64988308adae6b479ebde3502c676d05ac4596e6 (diff)
parent5f799aa16b2bfd35fc68073e73b85cf9ad75ba47 (diff)
downloadoauth2client-32de1342e656362dc75d3dd13a3a99a9496bebe6.tar.gz
Merge pull request #410 from nathanielmanistaatgoogle/symbolic-constant
Use symbolic constant rather than literal value.
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py7
1 files 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