gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s

This commit is contained in:
2026-04-15 08:59:36 +02:00
commit ab73d05ecc
359 changed files with 14415 additions and 0 deletions

14
tests/exceptions_test.py Executable file
View File

@@ -0,0 +1,14 @@
"""
Exceptions test
"""
import pytest
import unittest
from core import exceptions
class ExceptionTest(unittest.TestCase):
def test_break_exception(self):
with pytest.raises(exceptions.BreakException) as e:
raise exceptions.BreakException("test message", data=[1, 2, 3])
self.assertEqual(e.value.args[0], "test message")