aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/parsing/filter/__init__.py0
-rw-r--r--test/parsing/filter/test_from_string.py (renamed from test/parsing/test_filter.py)6
2 files changed, 3 insertions, 3 deletions
diff --git a/test/parsing/filter/__init__.py b/test/parsing/filter/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/parsing/filter/__init__.py
diff --git a/test/parsing/test_filter.py b/test/parsing/filter/test_from_string.py
index c01c1bf..180820a 100644
--- a/test/parsing/test_filter.py
+++ b/test/parsing/filter/test_from_string.py
@@ -16,12 +16,12 @@ from tagit.utils import bsfs, errors, ns
from tagit.utils.bsfs import ast
# objects to test
-from tagit.parsing.filter import Filter
+from tagit.parsing.filter.from_string import FromString
## code ##
-class TestFilterRange(unittest.TestCase):
+class TestFromString(unittest.TestCase):
longMessage = True
def setUp(self):
@@ -83,7 +83,7 @@ class TestFilterRange(unittest.TestCase):
bsfs:unique "false"^^xsd:boolean .
''')
- self.parse = Filter(self.schema)
+ self.parse = FromString(self.schema)
def _test_number(self, query, target):
predicate, condition = target