Skip to content

Commit

Permalink
lint: ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Sep 13, 2024
1 parent e6a01cf commit 982de3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/func/import/diamond/test_diamond.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_diamond_import_resolving_and_model_creation():
assert len(module.components) == 1

component = module.components[0]
assert type(component) == type(packageComponent)
assert type(component) is type(packageComponent)
assert component.name == 'myComponent'
assert len(component.slots) == 2

Expand Down
2 changes: 1 addition & 1 deletion tests/func/persistence/compare_table/test_compare_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_diamond_import_resolving_and_model_creation():
assert len(module.components) == 1

component = module.components[0]
assert type(component) == type(packageComponent)
assert type(component) is type(packageComponent)
assert component.name == 'myComponent'
assert len(component.slots) == 2

Expand Down

0 comments on commit 982de3f

Please sign in to comment.