Skip to content

Commit b20096c

Browse files
chore(deps): update from template
1 parent 9adadf7 commit b20096c

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_commit: v0.15.0
1+
_commit: v0.15.2
22
_src_path: gh:helmut-hoffer-von-ankershoffen/oe-python-template
33
attestations_enabled: true
44
author_email: helmuthva@gmail.com

.github/workflows/test-scheduled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
make test_scheduled
4242
EXIT_CODE=$?
4343
# Provide heartbeat to betterstack for monitoring/alerting if heartbeat url is configured as secret
44-
if [ -n "$BETTERSTACK_HEARTBEAT_ID" ]; then
44+
if [ -n "$BETTERSTACK_HEARTBEAT_URL" ]; then
4545
if [ $EXIT_CODE -eq 0 ]; then
4646
curl -s $BETTERSTACK_HEARTBEAT_URL
4747
else

tests/oe_python_template_example/utils/log_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,25 +90,25 @@ def test_validate_file_name_invalid_path() -> None:
9090
def test_get_logger_with_name() -> None:
9191
"""Test get_logger with a specific name."""
9292
logger = get_logger("test_module")
93-
assert logger.name == "oe_python_template.test_module"
93+
assert logger.name == "oe_python_template_example.test_module"
9494

9595

9696
def test_get_logger_none() -> None:
9797
"""Test get_logger with None name."""
9898
logger = get_logger(None)
99-
assert logger.name == "oe_python_template"
99+
assert logger.name == "oe_python_template_example"
100100

101101

102102
def test_get_logger_project_name() -> None:
103103
"""Test get_logger with the project name."""
104-
logger = get_logger("oe_python_template")
105-
assert logger.name == "oe_python_template"
104+
logger = get_logger("oe_python_template_example")
105+
assert logger.name == "oe_python_template_example"
106106

107107

108108
def test_logging_initialize_with_defaults() -> None:
109109
"""Test logging_initialize with default settings."""
110110
with (
111-
mock.patch("oe_python_template.utils._log.load_settings") as mock_load_settings,
111+
mock.patch("oe_python_template_example.utils._log.load_settings") as mock_load_settings,
112112
mock.patch("logging.basicConfig") as mock_basic_config,
113113
):
114114
# Mock settings with defaults

0 commit comments

Comments
 (0)