summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-05-07 16:02:24 +0200
committerAnton Khirnov <anton@khirnov.net>2020-05-08 17:16:18 +0200
commit63714d4d203570c636ce9253d7a0e10131da16a9 (patch)
tree80f8098628a5231ed2521b783869da54587c4ae9 /tests
parentb244c2ff1856abe602e3553b376208f8dfbdce5c (diff)
db/manager: drop support for adding/removing queries
This is not implemented in notmuch2 and does not really belong in alot. It can be done better through the notmuch utility.
Diffstat (limited to 'tests')
-rw-r--r--tests/db/test_manager.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/db/test_manager.py b/tests/db/test_manager.py
index 02df63d9..0f3a64ac 100644
--- a/tests/db/test_manager.py
+++ b/tests/db/test_manager.py
@@ -76,12 +76,3 @@ class TestDBManager(utilities.TestCaseClassCleanup):
# let global settings manager read our temporary notmuch config
settings.read_notmuch_config(cls.notmuch_config_path)
-
- def test_save_named_query(self):
- alias = 'key'
- querystring = 'query string'
- self.manager.save_named_query(alias, querystring)
- self.manager.flush()
-
- named_queries_dict = self.manager.get_named_queries()
- self.assertDictEqual(named_queries_dict, {alias: querystring})