diff --git a/pyproject.toml b/pyproject.toml index 400fdf4..81f62c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,6 +94,8 @@ upload_to_vcs_release = true version_variables = ["pyproject.toml:version","findmyorder/__init__.py:__version__"] build_command = "pip install poetry && poetry build" commit_parser = "emoji" + +[tool.semantic_release.commit_parser_options] major_tags = [ "BREAKING", "💥", diff --git a/tests/test_unit.py b/tests/test_unit.py index 691f74e..a5a525b 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -218,19 +218,3 @@ async def test_contains_emoji(fmo,order_with_emoji): result = await fmo.contains_emoji(order_with_emoji) assert result is True - -@pytest.mark.asyncio -async def test_exception_handling(): - # Simulate an exception - def func_that_raises(): - raise ValueError("Test error") - - # Call the function and verify that it returns None - result = None - try: - result = func_that_raises() - except Exception: - result = None - - # Check that the function returned None - assert result is None