super(OMFWifiInterface, self).deploy()
return True
+
+ def start(self):
+ """ Start the RM. It means nothing special for a channel for now
+ It becomes STARTED as soon as this method starts.
+
+ """
+
+ super(OMFWifiInterface, self).start()
+
+ def stop(self):
+ """ Stop the RM. It means nothing special for a channel for now
+ It becomes STOPPED as soon as this method is called
+
+ """
+ super(OMFWifiInterface, self).stop()
+ self.set_finished()
+
def release(self):
""" Clean the RM at the end of the experiment and release the API
def test_creation_phase(self):
self.assertEquals(OMFNode.rtype(), "OMFNode")
- self.assertEquals(len(OMFNode._attributes), 11)
+ self.assertEquals(len(OMFNode._attributes), 5)
self.assertEquals(OMFWifiInterface.rtype(), "OMFWifiInterface")
self.assertEquals(len(OMFWifiInterface._attributes), 9)
self.assertEquals(len(OMFChannel._attributes), 5)
self.assertEquals(OMFApplication.rtype(), "OMFApplication")
- self.assertEquals(len(OMFApplication._attributes), 8)
+ self.assertEquals(len(OMFApplication._attributes), 9)
class OMFEachTestCase(unittest.TestCase):