Example #1
0
 def test_specify_all_devices(self):
     my_devices = []
     for key in self.devices.keys():
         my_devices.append(key)
     devices = self.devices.copy()
     myscript.specify_device(my_devices, devices)
     for device in self.devices:
         self.assertIn(device, devices)
 def test_specify_all_devices(self):
     my_devices = []
     for key in self.devices.keys():
         my_devices.append(key)
     devices = self.devices.copy()
     myscript.specify_device(my_devices, devices)
     for device in self.devices:
         self.assertIn(device, devices)
Example #3
0
 def test_specify_1_device(self):
     for key in self.devices.keys():
         devices = self.devices.copy()
         my_devices = [key]
         #print "Specifying %s: " % my_devices
         myscript.specify_device(my_devices, devices)
         for my_device in my_devices:
             self.assertIn(my_device, devices)
 def test_specify_1_device(self):
     for key in self.devices.keys():
         devices = self.devices.copy()
         my_devices = [key]
         #print "Specifying %s: " % my_devices
         myscript.specify_device(my_devices, devices)
         for my_device in my_devices:
             self.assertIn(my_device, devices)