Skip to content

Commit eace66a

Browse files
msch-nutrientclaude
andcommitted
Remove superfluous DummyFile test
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 3b8989d commit eace66a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/unit/test_file_handler.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,3 @@ def test_get_file_size_from_bytesio():
4242
file_obj = io.BytesIO(content)
4343
size = get_file_size(file_obj)
4444
assert size == 12
45-
46-
47-
def test_get_file_size_none():
48-
"""Test get_file_size returns None for invalid input."""
49-
from nutrient_dws.file_handler import get_file_size
50-
51-
# Test with a file-like object without proper methods
52-
class DummyFile:
53-
pass
54-
55-
size = get_file_size(DummyFile()) # type: ignore[arg-type]
56-
assert size is None

0 commit comments

Comments
 (0)