aboutsummaryrefslogtreecommitdiffstats
path: root/test/uitests.sikuli/test_output_settings.py
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2017-09-11 17:47:17 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2017-09-11 17:47:17 -0500
commit14738704ede6dfa6ac79f362a9c1f7f40f470cdc (patch)
tree31c83bdd188ae7b64d7169974d6f066ccfe95367 /test/uitests.sikuli/test_output_settings.py
parenteb1896583afbbb622cadcde1a24e17173f61904f (diff)
downloadlibrevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.tar.lz
librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.tar.xz
librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.zip
rename mvc at lvc
Diffstat (limited to 'test/uitests.sikuli/test_output_settings.py')
-rw-r--r--test/uitests.sikuli/test_output_settings.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/uitests.sikuli/test_output_settings.py b/test/uitests.sikuli/test_output_settings.py
index 4c65cb0..621e057 100644
--- a/test/uitests.sikuli/test_output_settings.py
+++ b/test/uitests.sikuli/test_output_settings.py
@@ -5,7 +5,7 @@ import os
import tempfile
import shutil
import unittest
-from mvcgui import MVCGui
+from lvcgui import MVCGui
import datafiles
import devices
@@ -21,29 +21,29 @@ class Test_Custom_Settings(unittest.TestCase):
Each tests assumes that I there are files in the list ready to be converted to some format.
"""
- self.mvc = MVCGui()
- self.mvc.mvc_focus()
+ self.lvc = MVCGui()
+ self.lvc.lvc_focus()
print "starting test: ", self.shortDescription()
datadir, testfiles = data.test_data(many=True)
- self.mvc.browse_for_files(datadir, testfiles)
+ self.lvc.browse_for_files(datadir, testfiles)
self.output_dir = tempfile.mkdtemp()
- self.mvc.choose_save_location(self.output_dir)
+ self.lvc.choose_save_location(self.output_dir)
def choose_custom_size(self):
"""Scenario: Choose custom size.
When I enter a custom size option
Then the conversion uses that setting."""
- mvc = MVCGui()
+ lvc = MVCGui()
_, testfiles = data.test_data()
item = testfiles[0]
w = '360'
h = '180'
- mvc.choose_custom_size(self, 'on', width=w, height=h)
- mvc.mvc.choose_device_conversion('WebM')
- mvc.start_conversions()
- assert mvc.verify_size(item, width=w, height=h)
+ lvc.choose_custom_size(self, 'on', width=w, height=h)
+ lvc.lvc.choose_device_conversion('WebM')
+ lvc.start_conversions()
+ assert lvc.verify_size(item, width=w, height=h)
def choose_aspect_ration(self):
@@ -62,13 +62,13 @@ class Test_Custom_Settings(unittest.TestCase):
And I change size
Then the selected size is used in the conversion
"""
- mvc = MVCGui()
+ lvc = MVCGui()
_, testfiles = data.test_data()
item = testfiles[0]
w = '240'
h = '180'
- mvc.choose_device_conversion('Galaxy Tab')
- mvc.choose_custom_size(self, 'on', width=w, height=h)
- mvc.start_conversions()
- assert mvc.verify_size(item, width=w, height=h)
+ lvc.choose_device_conversion('Galaxy Tab')
+ lvc.choose_custom_size(self, 'on', width=w, height=h)
+ lvc.start_conversions()
+ assert lvc.verify_size(item, width=w, height=h)