aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2018-01-18 17:14:01 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2018-01-18 17:14:01 -0500
commit789224b9c3b7dfd5f80d651935b57df6289457e0 (patch)
tree1b1dafb566b9d2177fc776158e30c65e246f4823
parente25425122c12164258bf9ab0fef4b5c0754ceaf5 (diff)
downloadlibrevideoconverter-789224b9c3b7dfd5f80d651935b57df6289457e0.tar.lz
librevideoconverter-789224b9c3b7dfd5f80d651935b57df6289457e0.tar.xz
librevideoconverter-789224b9c3b7dfd5f80d651935b57df6289457e0.zip
pep8 en test/uitests.sikuli/test_remove_files.py
-rw-r--r--test/uitests.sikuli/test_remove_files.py26
1 files changed, 11 insertions, 15 deletions
diff --git a/test/uitests.sikuli/test_remove_files.py b/test/uitests.sikuli/test_remove_files.py
index fe216ad..94bad9c 100644
--- a/test/uitests.sikuli/test_remove_files.py
+++ b/test/uitests.sikuli/test_remove_files.py
@@ -10,7 +10,6 @@ import devices
data = datafiles.TestData()
-
class Test_Remove_Files(unittest.TestCase):
"""Remove files from the conversion list
@@ -18,7 +17,7 @@ class Test_Remove_Files(unittest.TestCase):
def setUp(self):
"""
- setup app for tests
+ setup app for tests
"""
lvc = MVCGui()
@@ -34,7 +33,7 @@ class Test_Remove_Files(unittest.TestCase):
When I remove it from the list
Then it is not in the list
"""
-
+
lvc.lvcGui()
_, testfiles = data.test_data(many=False)
item = testfiles[0]
@@ -59,22 +58,23 @@ class Test_Remove_Files(unittest.TestCase):
When I remove it from the list
Then it is not in the list
"""
-
+
item = 'slow_conversion.mkv'
- item_dir = data.testfile_attr(item, 'testdir')
+ item_dir = data.testfile_attr(item, 'testdir')
lvc.lvcGui()
-
+
lvc.browse_for_files(item_dir, item)
lvc.choose_device_conversion("WebM")
lvc.start_conversion()
_, origtestfiles = test_data()
- lvc.remove_files(origtestfiles[1])
+ lvc.remove_files(origtestfiles[1])
assert lvc.verify_file_in_list(item)
assert lvc.verify_completed(item, 160)
-
+
def test_remove_last_queued_file_with_in_progress_conversions(self):
- """Scenario: Remove the last queued file from the list with conversions in progress.
+ """Scenario: Remove the last queued file from the
+ list with conversions in progress.
Given I have lots of files files in the list
And I start conversion
@@ -82,15 +82,11 @@ class Test_Remove_Files(unittest.TestCase):
Then the in_progress conversions finished.
"""
item = 'slow_conversion.mkv'
- item_dir = data.testfile_attr(item, 'testdir')
+ item_dir = data.testfile_attr(item, 'testdir')
lvc.lvcGui()
-
+
lvc.browse_for_files(item_dir, item)
lvc.choose_device_conversion("Theora")
lvc.start_conversion()
lvc.remove_queued_conversions()
assert lvc.verify_conversions_finished()
-
-
-
-