Skip to content

Commit 356bfac

Browse files
author
Tom Softreck
committed
Release version 0.1.56
1 parent 02a9c76 commit 356bfac

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.1.56] - 2025-04-16
6+
57
## [0.1.55] - 2025-04-16
68

79
### Added

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Configuration setup
2727
setup(
2828
name="pyfunc2",
29-
version="0.1.53",
29+
version="0.1.54",
3030
description="libs for cameramonit, ocr, fin-officer, cfo, and other projects",
3131
long_description=LONG_DESCRIPTION,
3232
long_description_content_type="text/markdown",

setup.py.bak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ except FileNotFoundError:
2626
# Configuration setup
2727
setup(
2828
name="pyfunc2",
29-
version="0.1.52",
29+
version="0.1.53",
3030
description="libs for cameramonit, ocr, fin-officer, cfo, and other projects",
3131
long_description=LONG_DESCRIPTION,
3232
long_description_content_type="text/markdown",

test/test_download_attachments_in_email.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def __init__(self, filename, content_type, payload):
1111
def get_filename(self):
1212
return self.filename
1313
def get_content_type(self):
14+
print(f"[DummyPart] get_content_type called, returning: {self.content_type}")
1415
return self.content_type
1516
def get_payload(self, decode=False):
1617
return self.payload
@@ -27,9 +28,12 @@ class DummyEmail:
2728
def __init__(self, parts):
2829
self.parts = parts
2930
def walk(self):
31+
print("[DummyEmail] walk called, returning parts:", self.parts)
3032
return self.parts
3133
def get_content_maintype(self):
3234
return 'multipart'
35+
def is_multipart(self):
36+
return True
3337

3438
@pytest.fixture
3539
def dummy_data():

0 commit comments

Comments
 (0)