summaryrefslogtreecommitdiff
path: root/tests/test_functions.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2016-05-15 21:02:17 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2016-05-15 21:02:17 +0200
commitefb6fd4bdb80b985c356bb6eb996e6e25cf63b05 (patch)
tree5ca2ce45fc9cf0a35efbcf68bb643f3a12e2575d /tests/test_functions.py
parent9ab1464ea9c1d0296d698d9637ed3e3cd92326f9 (diff)
parent955996e3e5c49fb6b7f200ceecee2f8082656ac4 (diff)
downloadsqlparse-efb6fd4bdb80b985c356bb6eb996e6e25cf63b05.tar.gz
Merge pull request #235 from vmuriart/refactor
Refactor
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)