Removing logging dependency from omf vlc unittest
[nepi.git] / test / resources / omf / vlc.py
index aae3084..eea7912 100755 (executable)
@@ -1,4 +1,3 @@
-
 #!/usr/bin/env python
 #
 #    NEPI, a framework to manage network experiments
@@ -29,15 +28,10 @@ from nepi.resources.omf.interface import OMFWifiInterface
 from nepi.resources.omf.channel import OMFChannel
 from nepi.resources.omf.omf_api import OMFAPIFactory
 
-from nepi.util import guid
 from nepi.util.timefuncs import *
 
 import time
 import unittest
-import logging
-
-logging.basicConfig()
-
 
 class DummyEC(ExperimentController):
     pass
@@ -124,6 +118,11 @@ class OMFVLCTestCase(unittest.TestCase):
         self.ec.set(self.app2, 'xmppPassword', "1234")
 
         self.app3 = self.ec.register_resource("OMFApplication")
+        self.ec.set(self.app3, 'appid', 'Kill#2')
+        self.ec.set(self.app3, 'path', "/usr/bin/killall")
+        self.ec.set(self.app3, 'args', "vlc")
+        self.ec.set(self.app3, 'env', " ")
+
         self.app4 = self.ec.register_resource("OMFApplication")
 
         self.app5 = self.ec.register_resource("OMFApplication")