Skip to content

Commit 57a9ee4

Browse files
yt-msMidnighter
authored andcommitted
test: switch to using xfail (PR feedback)
1 parent ff5f5c8 commit 57a9ee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_model_element_relationships.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from structurizr.model import Model
2222

2323

24-
@pytest.mark.skip(reason="To be fixed - issue #31")
24+
@pytest.mark.xfail(strict=True)
2525
def test_adding_relationship_to_element_adds_to_model():
2626
"""
2727
Make sure that when a relationship is added via Element.add_relationship it also
@@ -39,7 +39,7 @@ def test_adding_relationship_to_element_adds_to_model():
3939
assert len(list(sys2.get_relationships())) == 1 # Currently will fail
4040

4141

42-
@pytest.mark.skip(reason="To be fixed - issue #31")
42+
@pytest.mark.xfail(strict=True)
4343
def test_adding_relationship_via_uses_adds_to_elements():
4444
"""
4545
Make sure that when a relationship is added via StaticStructureElement.uses

0 commit comments

Comments
 (0)