Force raising an exception on utils.positional for one test.
Reviewed in https://codereview.appspot.com/6472061/.
diff --git a/tests/test_discovery.py b/tests/test_discovery.py
index e9d5553..09971f7 100644
--- a/tests/test_discovery.py
+++ b/tests/test_discovery.py
@@ -23,6 +23,7 @@
__author__ = 'jcgregorio@google.com (Joe Gregorio)'
+import gflags
import httplib2
import os
import sys
@@ -53,6 +54,9 @@
DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
+FLAGS = gflags.FLAGS
+FLAGS.positional_parameters_enforcement = 'EXCEPTION'
+
def datafile(filename):
return os.path.join(DATA_DIR, filename)