[tracker/wip/carlosg/parallel-installable: 49/51] tests: Update CLI tests to use tracker3 tool
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/parallel-installable: 49/51] tests: Update CLI tests to use tracker3 tool
- Date: Sun, 5 Apr 2020 17:19:08 +0000 (UTC)
commit e7153665aa162938bfb29cd74e52f676edd13da2
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Mar 8 15:12:38 2020 +0100
tests: Update CLI tests to use tracker3 tool
tests/functional-tests/cli.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/cli.py b/tests/functional-tests/cli.py
index 199be2470..a6e0bb263 100644
--- a/tests/functional-tests/cli.py
+++ b/tests/functional-tests/cli.py
@@ -30,26 +30,26 @@ class TestCli(fixtures.TrackerCommandLineTestCase):
def test_version(self):
"""Check we're testing the correct version of the CLI"""
output = self.run_cli(
- ['tracker', '--version'])
+ ['tracker3', '--version'])
version_line = output.splitlines()[0]
expected_version_line = 'Tracker %s' % configuration.tracker_version()
self.assertEqual(version_line, expected_version_line)
def test_create_local_database(self):
- """Create a database using `tracker endpoint` for local testing"""
+ """Create a database using `tracker3 endpoint` for local testing"""
with self.tmpdir() as tmpdir:
ontology_path = configuration.ontologies_dir()
# Create the database
self.run_cli(
- ['tracker', 'endpoint', '--database', tmpdir,
+ ['tracker3', 'endpoint', '--database', tmpdir,
'--ontology-path', ontology_path])
# Sanity check that it works.
self.run_cli(
- ['tracker', 'sparql', '--database', tmpdir,
+ ['tracker3', 'sparql', '--database', tmpdir,
'--query', 'ASK { ?u a rdfs:Resource }'])
def test_export(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]