summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox/files/test_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/virtualbox/files/test_python.py')
-rw-r--r--app-emulation/virtualbox/files/test_python.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/app-emulation/virtualbox/files/test_python.py b/app-emulation/virtualbox/files/test_python.py
deleted file mode 100644
index da03af795501..000000000000
--- a/app-emulation/virtualbox/files/test_python.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/python3
-
-# Smoke test for python:
-# Test if the python bindings have been built and if python is crashing when creating a manager
-
-def test_module_was_built():
- import os
- assert os.path.isfile(os.getenv('VBOX_PROGRAM_PATH') + '/VBoxPython3.so')
-
-def test_VirtualBoxManager():
- from vboxapi import VirtualBoxManager
- try:
- manager = VirtualBoxManager()
- except:
- # if it reaches here, it did not crash
- pass