aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2007-01-01 17:49:16 +0100
committerOlivier Tilloy <olivier@tilloy.net>2007-01-01 17:49:16 +0100
commit9ef6faabcdb9872be4e9f91ae2571e485b3ac9e1 (patch)
treec2f61657545a49b042f2ad879709e14423db8652 /src
parent23c59763947c21281c6af5796cd4f822822dcf24 (diff)
downloadpyexiv2-9ef6faabcdb9872be4e9f91ae2571e485b3ac9e1.tar.gz
Added a test function (yet to define) to the python library.
Diffstat (limited to 'src')
-rw-r--r--src/pyexiv2.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index 79fe6ca..6f24e0a 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -194,3 +194,11 @@ class Image(libpyexiv2.Image):
# StringToUndefined().
strVal = value
self.setExifTag(key, strVal)
+
+def _test():
+ print 'testing library pyexiv2...'
+ # TODO: various tests
+ print 'done.'
+
+if __name__ == '__main__':
+ _test()