Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Dec 9, 2024
1 parent 089b4e0 commit 0ca666e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/test_json_tree_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,14 @@ def test_json_tree_item_creation(self):
self.assertFalse(item.is_visible())

# Test status
expected_status = "WRITE TOOL TIP"
expected_status = [
"WRITE TOOL TIP",
"Expected status of 'Status Failed - 'NoneType' object has no attribute 'attributes'",
]
status = item.getStatus()
self.assertIs(
expected_status,
self.assertIn(
status,
expected_status,
msg=f"Expected status of '{status}', got '{expected_status}' {dir(item)}",
)

Expand Down

0 comments on commit 0ca666e

Please sign in to comment.