diff --git a/tests/test_finder.py b/tests/test_finder.py index 8dad573..b047530 100644 --- a/tests/test_finder.py +++ b/tests/test_finder.py @@ -56,7 +56,7 @@ def fetch(self, resource, metric, start, end): def search(self, *terms): for term in terms: - if term == '_tree:root': + if term == '_parent:_root': for r in self._resources: if ':' in r: continue @@ -85,7 +85,7 @@ def _run_query(self, pattern): def testClientSelfTest(self): self.client._insert('r1:r2:r3:r4', 'metric1') - for resource, metrics in self.client.search('_tree:root'): + for resource, metrics in self.client.search('_parent:_root'): self.assertEqual(len(metrics), 0) self.assertEqual(resource, 'r1')