Skip to content

Commit

Permalink
fixing lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush Ahuja committed Nov 9, 2014
1 parent 3ef5ccc commit 74df888
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions python-api/tests/integrationtests/test_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_new_record(self):
sources.terminate_video()
serv.terminate(1)
assert ((os.path.exists(test_filename)) or
(os.path.exists(alt_test_filename))) is True
(os.path.exists(alt_test_filename))) is True
finally:
if serv.proc:
poll = serv.proc.poll()
Expand All @@ -405,14 +405,13 @@ class TestAdjustPIP(object):
NUM = 1
FACTOR = 1

def adjust_pip(
self,
xpos,
ypos,
width,
heigth,
index,
generate_frames=False):
def adjust_pip(self,
xpos,
ypos,
width,
heigth,
index,
generate_frames=False):
"""Create Controller object and call adjust_pip"""
for _ in range(self.NUM):
serv = Server(path=PATH)
Expand Down Expand Up @@ -531,14 +530,13 @@ class TestClickVideo(object):
NUM = 1
FACTOR = 1

def click_video(
self,
xpos,
ypos,
width,
heigth,
index,
generate_frames=False):
def click_video(self,
xpos,
ypos,
width,
heigth,
index,
generate_frames=False):
"""Create Controller object and call click_video method"""
for _ in range(self.NUM):
serv = Server(path=PATH)
Expand Down

0 comments on commit 74df888

Please sign in to comment.