Skip to content

Commit 60fec5d

Browse files
yt-msMidnighter
authored andcommitted
fix: more PR feedback
1 parent 1b85a78 commit 60fec5d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/unit/model/test_model_item.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ def test_model_item_init(attributes):
4646

4747

4848
def test_default_element_tags_order(empty_model: Model):
49-
"""Test that the default tags get added in the right order."""
49+
"""
50+
Test that the default tags get added in the right order.
51+
52+
Based on test_getTags_WhenThereAreNoTags() from the Java API.
53+
"""
5054
element = empty_model.add_software_system(name="Name", description="Description")
5155
assert list(element.tags) == ["Element", "Software System"]
5256

@@ -55,6 +59,8 @@ def test_default_and_custom_tags(empty_model: Model):
5559
"""
5660
Test that tags are in the order that they were added.
5761
62+
Based on test_getTags_ReturnsTheListOfTags_WhenThereAreSomeTags from the Java API.
63+
5864
See https://github.com/Midnighter/structurizr-python/issues/22
5965
"""
6066
element = empty_model.add_software_system(name="Name", description="Description")

0 commit comments

Comments
 (0)