diff --git a/tests/client/ayon_core/pipeline/traits/test_traits.py b/tests/client/ayon_core/pipeline/traits/test_traits.py index a204c59cb7..e4aef1ba18 100644 --- a/tests/client/ayon_core/pipeline/traits/test_traits.py +++ b/tests/client/ayon_core/pipeline/traits/test_traits.py @@ -362,7 +362,7 @@ def test_representation_equality() -> None: Planar(planar_configuration="RGBA"), ]) - # lets assume ids are the same (because ids are randomly generated) + # let's assume ids are the same (because ids are randomly generated) rep_b.representation_id = rep_d.representation_id = rep_a.representation_id rep_c.representation_id = rep_e.representation_id = rep_a.representation_id rep_f.representation_id = rep_a.representation_id @@ -379,6 +379,7 @@ def test_representation_equality() -> None: # because of the trait difference assert rep_d != rep_f + def test_get_repre_by_name(): """Test getting representation by name.""" rep_a = Representation(name="test_a", traits=[ @@ -401,4 +402,4 @@ def test_get_repre_by_name(): ]) representations = [rep_a, rep_b] - repre = next(rep for rep in representations if rep.name == "test_a") + _ = next(rep for rep in representations if rep.name == "test_a")