summaryrefslogtreecommitdiff
path: root/tests/test_functions.py
diff options
context:
space:
mode:
authorVictor Uriarte <victor.m.uriarte@intel.com>2016-05-06 20:48:42 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2016-05-10 18:22:07 -0700
commit8ddc98b8000cd88aa3fd53881cd3d3df8ee1a9b3 (patch)
tree4247137b9728fac275b00ad0649e9af7de66cc45 /tests/test_functions.py
parent9ab1464ea9c1d0296d698d9637ed3e3cd92326f9 (diff)
downloadsqlparse-8ddc98b8000cd88aa3fd53881cd3d3df8ee1a9b3.tar.gz
fix test to run locally
Diffstat (limited to 'tests/test_functions.py')
-rw-r--r--tests/test_functions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_functions.py b/tests/test_functions.py
index 425ab7f..9207815 100644
--- a/tests/test_functions.py
+++ b/tests/test_functions.py
@@ -13,6 +13,7 @@ sys.path.insert(0, '..')
from sqlparse.filters import compact
from sqlparse.functions import getcolumns, getlimit, IsType
+from tests.utils import FILES_DIR
class Test_IncludeStatement(TestCase):
@@ -27,7 +28,7 @@ class Test_IncludeStatement(TestCase):
def test_includeStatement(self):
stream = tokenize(self.sql)
- includeStatement = IncludeStatement('tests/files',
+ includeStatement = IncludeStatement(FILES_DIR,
raiseexceptions=True)
stream = includeStatement.process(None, stream)
stream = compact(stream)