Skip to content

Commit

Permalink
Merge pull request #247 from mraniki/dev
Browse files Browse the repository at this point in the history
👷 CI Change for semantic
  • Loading branch information
mraniki committed Jul 19, 2023
2 parents 544a451 + 2916a03 commit 5589e20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"💥",
Expand Down
16 changes: 0 additions & 16 deletions tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5589e20

Please sign in to comment.