diff options
author | Matthias Baumgartner <dev@igsor.net> | 2022-12-19 13:32:34 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2022-12-19 13:32:34 +0100 |
commit | 791918039979d0743fd2ea4b9a5e74593ff96fd0 (patch) | |
tree | c8e6703325ae14e02d2f92e4f6658aa41a6f4701 /test/query | |
parent | e94368c75468e3e94382b12705e55d396249eaca (diff) | |
download | bsfs-791918039979d0743fd2ea4b9a5e74593ff96fd0.tar.gz bsfs-791918039979d0743fd2ea4b9a5e74593ff96fd0.tar.bz2 bsfs-791918039979d0743fd2ea4b9a5e74593ff96fd0.zip |
query ast file structures and essential interfaces
Diffstat (limited to 'test/query')
-rw-r--r-- | test/query/__init__.py | 0 | ||||
-rw-r--r-- | test/query/ast/__init__.py | 0 | ||||
-rw-r--r-- | test/query/ast/test_filter_.py | 28 | ||||
-rw-r--r-- | test/query/test_validator.py | 30 |
4 files changed, 58 insertions, 0 deletions
diff --git a/test/query/__init__.py b/test/query/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/query/__init__.py diff --git a/test/query/ast/__init__.py b/test/query/ast/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/query/ast/__init__.py diff --git a/test/query/ast/test_filter_.py b/test/query/ast/test_filter_.py new file mode 100644 index 0000000..cc815e3 --- /dev/null +++ b/test/query/ast/test_filter_.py @@ -0,0 +1,28 @@ +""" + +Part of the tagit test suite. +A copy of the license is provided with the project. +Author: Matthias Baumgartner, 2022 +""" +# imports +import unittest + +# bsfs imports + +# objects to test +from bsfs.query.ast.filter_ import _Expression + + +## code ## + +class TestExpression(unittest.TestCase): + def test_essentials(self): + raise NotImplementedError() + + +## main ## + +if __name__ == '__main__': + unittest.main() + +## EOF ## diff --git a/test/query/test_validator.py b/test/query/test_validator.py new file mode 100644 index 0000000..0e88ad3 --- /dev/null +++ b/test/query/test_validator.py @@ -0,0 +1,30 @@ +""" + +Part of the tagit test suite. +A copy of the license is provided with the project. +Author: Matthias Baumgartner, 2022 +""" +# imports +import unittest + +# bsfs imports + +# objects to test +from bsfs.query.validator import Filter + + +## code ## + +class TestFilter(unittest.TestCase): + def test_parse(self): + raise NotImplementedError() + + # FIXME: subtests for individual functions + + +## main ## + +if __name__ == '__main__': + unittest.main() + +## EOF ## |