Skip to content

Commit

Permalink
os.remove(counter_db_path)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcangelo7 committed Oct 20, 2024
1 parent ea69b34 commit b1cc861
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ info_dir/*
docs/build/*

blazegraph*
rules.log
rules.log
oc_ocdm/test/prov/prov_counter.db
Binary file removed oc_ocdm/test/prov/prov_counter.db
Binary file not shown.
5 changes: 4 additions & 1 deletion oc_ocdm/test/prov/test_prov_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ class TestProvSet(unittest.TestCase):

def setUp(self):
self.graph_set = GraphSet("http://test/", "./info_dir/", "", False)
self.prov_set = ProvSet(self.graph_set, "http://test/", "./info_dir/", False, custom_counter_handler=SqliteCounterHandler('oc_ocdm/test/prov/prov_counter.db'), supplier_prefix="")
counter_db_path = 'oc_ocdm/test/prov/prov_counter.db'
if os.path.exists(counter_db_path):
os.remove(counter_db_path)
self.prov_set = ProvSet(self.graph_set, "http://test/", "./info_dir/", False, custom_counter_handler=SqliteCounterHandler(counter_db_path), supplier_prefix="")
self.cur_time = 1607375859.846196
self.cur_time_str = '2020-12-07T21:17:39+00:00'

Expand Down
Binary file modified virtuoso-opensource/database/virtuoso.trx
Binary file not shown.

0 comments on commit b1cc861

Please sign in to comment.