[tracker-miners/wip/carlosg/test] foo



commit 9e22addbfc8c44733308a9ac849e129847db2390
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Oct 23 16:11:07 2020 +0200

    foo

 tests/functional-tests/miner-basic.py | 2 ++
 tests/functional-tests/minerhelper.py | 4 ++++
 2 files changed, 6 insertions(+)
---
diff --git a/tests/functional-tests/miner-basic.py b/tests/functional-tests/miner-basic.py
index ad386ca72..997ea8f9b 100755
--- a/tests/functional-tests/miner-basic.py
+++ b/tests/functional-tests/miner-basic.py
@@ -368,7 +368,9 @@ class MinerCrawlTest(fixtures.TrackerMinerTest):
             # indirectly by the new file)
             with open(document, 'w') as f:
                 f.write(DEFAULT_TEXT)
+            print ('foo0')
             self.miner_fs.index_location(directory_uri, [], [])
+            print ('foo5')
 
         new_urn = self.__get_file_urn(directory)
         # Ensure that children remain consistent, old and new ones
diff --git a/tests/functional-tests/minerhelper.py b/tests/functional-tests/minerhelper.py
index 565d2b954..c218f01f8 100644
--- a/tests/functional-tests/minerhelper.py
+++ b/tests/functional-tests/minerhelper.py
@@ -140,8 +140,12 @@ class MinerFsHelper ():
             GLib.source_remove(timeout_id)
 
     def index_location(self, uri, graphs=None, flags=None):
+        print ('foo1')
         def index_location_done(obj, res, data):
+            print ('foo4')
             log.debug("Indexing location %s", uri)
 
         log.debug("Requesting to index location %s", uri)
+        print ('foo2')
         self.index.IndexLocation('(sasas)', uri, graphs or [], flags or [], 
result_handler=index_location_done)
+        print ('foo3')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]