This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
tty2newsml/iptcmessageTest.py
2014-09-15 17:37:18 +02:00

15 lines
297 B
Python
Executable File

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import iptcmessage
import unittest
class IPTCMessageTestCase(unittest.TestCase):
def testMessageParsing(self):
iptc = iptcmessage.IPTCMessage("")
self.assertGreater(iptc.length, 0)
if __name__=='__main__':
unittest.main()