aboutsummaryrefslogtreecommitdiff
path: root/pyvimba/tests/test_installation.py
diff options
context:
space:
mode:
authorJohn Sun <jsun@sightmachine.com>2014-04-02 17:08:07 -0700
committerJohn Sun <jsun@sightmachine.com>2014-04-02 17:08:07 -0700
commitc40423dd47d6ba56469ae1faf306d95d6be5cd5c (patch)
tree3333906a098b9c22a3e89ec53473a0acec7d0c43 /pyvimba/tests/test_installation.py
parent01e24424971ffa9faa5dabf2e6724cea997a2afb (diff)
downloadpymba-c40423dd47d6ba56469ae1faf306d95d6be5cd5c.tar.gz
pymba-c40423dd47d6ba56469ae1faf306d95d6be5cd5c.zip
Add some tests
test_systemfeature.py is broken because I think this is invalid API.
Diffstat (limited to 'pyvimba/tests/test_installation.py')
-rw-r--r--pyvimba/tests/test_installation.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pyvimba/tests/test_installation.py b/pyvimba/tests/test_installation.py
new file mode 100644
index 0000000..060f453
--- /dev/null
+++ b/pyvimba/tests/test_installation.py
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+from pyvimba.vimba import *
+
+def test_installation():
+ vimba = Vimba()
+ version = vimba.getVersion()
+ assert version == '1.2.0'