aboutsummaryrefslogtreecommitdiff
path: root/pyvimba/tests/test_interfaces.py
diff options
context:
space:
mode:
authorJohn Sun <jsun@sightmachine.com>2014-04-04 15:49:14 -0700
committerJohn Sun <jsun@sightmachine.com>2014-04-04 15:49:14 -0700
commit3c1ca240eb7d90e7c7e925c06712a59a4063cb7e (patch)
treea16466e168fd42f7f184fe5f96947e918c9a4c74 /pyvimba/tests/test_interfaces.py
parentf71223d809af8cb749f6a3b37b3a29a022322d02 (diff)
downloadpymba-3c1ca240eb7d90e7c7e925c06712a59a4063cb7e.tar.gz
pymba-3c1ca240eb7d90e7c7e925c06712a59a4063cb7e.zip
Rename directory to pymba instead of pyvimba.
Fix test_systemfeatures.py
Diffstat (limited to 'pyvimba/tests/test_interfaces.py')
-rw-r--r--pyvimba/tests/test_interfaces.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/pyvimba/tests/test_interfaces.py b/pyvimba/tests/test_interfaces.py
deleted file mode 100644
index 2620289..0000000
--- a/pyvimba/tests/test_interfaces.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/python
-
-from pyvimba.vimba import *
-import time
-
-def test_interfaces():
- # start Vimba
- vimba = Vimba()
- vimba.startup()
-
- # get list of available interfaces
- interfaceIds = vimba.getInterfaceIds()
- for interfaceId in interfaceIds:
- print 'Interface ID:', interfaceId
-
- # get interface object and open it
- interface0 = vimba.getInterface(interfaceIds[0])
- interface0.openInterface()
-
- # list interface features
- interfaceFeatureNames = interface0.getFeatureNames()
- for name in interfaceFeatureNames:
- print 'Interface feature:', name
-
- # close interface
- interface0.closeInterface()
-
- # shutdown Vimba
- vimba.shutdown()