added tests and scan for releases

This commit is contained in:
2023-12-01 01:26:38 +01:00
parent b2e49bf99c
commit cb9e02f4a2
7 changed files with 111 additions and 10 deletions

0
tests/__init__.py Normal file
View File

19
tests/test_exif_data.py Normal file
View File

@@ -0,0 +1,19 @@
import unittest
import sys
sys.path.append("../")
from src.exif_data import ExifData
class TestExifData(unittest.TestCase):
exif_data = ExifData(image_path="/my/path/lol",
image_name="Secret.png",
make="SALAMI",
day=10,
month=10,
year=1010,
time=1237127392
)
assert exif_data.name == "Secret.png"
assert exif_data.make == "SALAMI"