[tracker/wip/carlosg/ontlogy-tests-no-skip: 1/2] tests: Drop skip hints from some ontology-changes tests
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/ontlogy-tests-no-skip: 1/2] tests: Drop skip hints from some ontology-changes tests
- Date: Sun, 8 Aug 2021 11:28:15 +0000 (UTC)
commit 256fdcb0b29d451cf3b6567631896b1054e0e416
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 8 12:30:13 2021 +0200
tests: Drop skip hints from some ontology-changes tests
These were apparently broken at some point and marked as skipped, but
work nowadays. Remove the @ut.skip() hints for these.
tests/functional-tests/ontology-changes.py | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/tests/functional-tests/ontology-changes.py b/tests/functional-tests/ontology-changes.py
index 22cf767ac..cbcb82c6a 100644
--- a/tests/functional-tests/ontology-changes.py
+++ b/tests/functional-tests/ontology-changes.py
@@ -240,7 +240,6 @@ class PropertyRangeIntToString (OntologyChangeTestTemplate):
"""
Change the range of a property from int to string. There shouldn't be any data loss.
"""
- @ut.skip("Fails with: Unable to insert multiple values for subject `http://example.org/ns#a_int' and
single valued property `rdfs:comment' (old_value: 'This property is integer in basic here is string', new
value: 'Property to test the changes string/int')")
def test_property_range_int_to_str(self):
self.template_test_ontology_change()
@@ -269,7 +268,6 @@ class PropertyRangeStringToInt (OntologyChangeTestTemplate):
Change the range of a property from string to int. There shouldn't be any data loss.
"""
- @ut.skip("Fails with: Unable to insert multiple values for subject `http://example.org/ns#a_int' and
single valued property `rdfs:comment' (old_value: 'Property to test the changes string/int', new value: 'This
property is integer in basic here is string')")
def test_property_range_str_to_int(self):
self.template_test_ontology_change()
@@ -573,7 +571,6 @@ class OntologyAddPropertyTest (OntologyChangeTestTemplate):
"""
Add new properties in the ontology, with/without super prop and different ranges and cardinalities
"""
- @ut.skip("Fails with:Unable to insert multiple values for subject `http://example.org/ns#a_int' and
single valued property `rdfs:comment' (old_value: 'This property is integer in basic here is string', new
value: 'Property to test the changes string/int')")
def test_ontology_add_property(self):
self.template_test_ontology_change()
@@ -668,7 +665,6 @@ class DomainIndexAddTest (OntologyChangeTestTemplate):
"""
Add nrl:domainIndex to a class and check there is no data loss.
"""
- @ut.skip("Fails with: basic-future/91-test.ontology: Unsupported ontology change for test:b_property:
can't change rdfs:domain (old=test:A, attempted new=test:B) ")
def test_domain_index_add(self):
self.template_test_ontology_change()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]