Skip to content

Commit

Permalink
integration tests - set_compose_mode - passing
Browse files Browse the repository at this point in the history
  • Loading branch information
hyades committed Aug 20, 2013
1 parent 7bdeefc commit f019ff3
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions python-api/tests/integrationtests/test_controller.py
Expand Up @@ -228,16 +228,6 @@ class TestSetCompositeMode(object):

NUM = 1
FACTOR = 1
def set_composite_mode(self, mode):
r = []
controller = Controller()
controller.establish_connection()
time.sleep(1)
# controller.get_compose_port()
for i in range(self.FACTOR):
print "\nchange composite mode - ", mode
r.append(controller.set_composite_mode(mode))
return r

def driver_set_composite_mode(self, mode):
for i in range(self.NUM):
Expand All @@ -256,7 +246,8 @@ def driver_set_composite_mode(self, mode):
time.sleep(5)
# expected_result = [mode != 3] * self.FACTOR
# print mode, expected_result
res = self.set_composite_mode(mode)
controller = Controller()
res = controller.set_composite_mode(mode)
print res
time.sleep(5)
preview.terminate()
Expand All @@ -269,7 +260,7 @@ def driver_set_composite_mode(self, mode):
s.terminate()
pass
def test_set_composite_mode(self):
for i in range(1):
for i in range(4):
# print "\n\nmode\n\n", i
self.driver_set_composite_mode(i)

0 comments on commit f019ff3

Please sign in to comment.