From 982de3f5cf657a2c49874c04aaa2b4fb605a7e53 Mon Sep 17 00:00:00 2001 From: Igor Dejanovic Date: Fri, 13 Sep 2024 14:06:01 +0200 Subject: [PATCH] lint: ruff fixes --- tests/func/import/diamond/test_diamond.py | 2 +- tests/func/persistence/compare_table/test_compare_table.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/func/import/diamond/test_diamond.py b/tests/func/import/diamond/test_diamond.py index 8913dd8..6f67415 100644 --- a/tests/func/import/diamond/test_diamond.py +++ b/tests/func/import/diamond/test_diamond.py @@ -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 diff --git a/tests/func/persistence/compare_table/test_compare_table.py b/tests/func/persistence/compare_table/test_compare_table.py index 876a7c6..596a65d 100644 --- a/tests/func/persistence/compare_table/test_compare_table.py +++ b/tests/func/persistence/compare_table/test_compare_table.py @@ -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