Skip to content

Commit

Permalink
small fix in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropaulofb committed Nov 12, 2023
1 parent 8f614b7 commit 5644907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ontouml_py/tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ def test_project_remove_elements_by_filter() -> None:
for i in range(10):
element = create_ontoumlelement()
# Assuming 'modified' is an existing attribute, update it with a datetime
element.modified = datetime(2020, 1, 1, i) # Example modification
element.modified = datetime(2099, 1, 1, i) # Example modification
project.add_element(element)

# Use a filter function based on the 'modified' attribute
Expand All @@ -1040,6 +1040,7 @@ def test_project_remove_elements_by_filter() -> None:
), "Elements should be removed according to the filter function."



# Test removing elements sequentially from a Project
def test_project_sequential_remove_elements() -> None:
"""
Expand Down

0 comments on commit 5644907

Please sign in to comment.