aboutsummaryrefslogtreecommitdiff
path: root/tests/test_interfaces.py
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2019-01-30 13:59:23 +1100
committermorefigs <morefigs@gmail.com>2019-01-30 13:59:23 +1100
commit6d6fc471aceff5802fc3ad5db3d35521e87abf4c (patch)
tree178006ebbf18452091e0caf4f73c313b9185ce32 /tests/test_interfaces.py
parent01587d8ba4d5a1f8371f44e719eda6547d3ed459 (diff)
downloadpymba-6d6fc471aceff5802fc3ad5db3d35521e87abf4c.tar.gz
pymba-6d6fc471aceff5802fc3ad5db3d35521e87abf4c.zip
delete outdates tests
Diffstat (limited to 'tests/test_interfaces.py')
-rw-r--r--tests/test_interfaces.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/test_interfaces.py b/tests/test_interfaces.py
deleted file mode 100644
index 3fc4a94..0000000
--- a/tests/test_interfaces.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-from __future__ import absolute_import, print_function, division
-from pymba import *
-import time
-
-
-def test_interfaces():
- # start Vimba
- with Vimba() as vimba:
- # 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.open()
-
- # list interface features
- interfaceFeatureNames = interface0.get_feature_names()
- for name in interfaceFeatureNames:
- print('Interface feature:', name)
-
- # close interface
- interface0.close()
-
-if __name__ == '__main__':
- test_interfaces() \ No newline at end of file