added tests and scan for releases
This commit is contained in:
19
tests/test_exif_data.py
Normal file
19
tests/test_exif_data.py
Normal 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"
|
||||
Reference in New Issue
Block a user