diff --git a/tests/unit/test_connect.py b/tests/unit/test_connect.py index 801a309..75840f5 100644 --- a/tests/unit/test_connect.py +++ b/tests/unit/test_connect.py @@ -101,10 +101,8 @@ def test_empty_attribute_name_returns_empty_string(self): common_part = "" # Act - processed_name = process_name(attr_name, common_part) - - # Assert - assert processed_name == "" + with pytest.raises(ValueError): + processed_name = process_name(attr_name, common_part) # Empty common part returns processed attribute name without common part. @pytest.mark.unit