[tracker-miners/sam/index-location: 20/21] fixup test
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/index-location: 20/21] fixup test
- Date: Thu, 9 Jul 2020 23:05:27 +0000 (UTC)
commit 23e169a3ad52fbd527621493a59357027f3500b2
Author: Sam Thursfield <sam afuera me uk>
Date: Fri Jul 10 00:49:50 2020 +0200
fixup test
tests/functional-tests/miner-on-demand.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/functional-tests/miner-on-demand.py b/tests/functional-tests/miner-on-demand.py
index 75e2bc569..ee0e91d1e 100755
--- a/tests/functional-tests/miner-on-demand.py
+++ b/tests/functional-tests/miner-on-demand.py
@@ -118,7 +118,8 @@ class MinerOnDemandTest(fixtures.TrackerMinerTest):
def test_index_location_invalid_flag(self):
testdir = pathlib.Path(self.workdir).joinpath('test-not-monitored')
- self.miner_fs.index_location(testdir.as_uri(), ['invalid-flag-which-should-trigger-an-error'])
+ with self.assertRaises(GLib.GError) as e:
+ self.miner_fs.index_location(testdir.as_uri(), ['invalid-flag-which-should-trigger-an-error'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]