More PEP8

This commit is contained in:
Samuel Mehrbrodt 2014-04-16 21:59:34 +02:00
parent bb1af7ed00
commit dd4e2c8d61
4 changed files with 7 additions and 7 deletions

View File

@ -482,7 +482,7 @@ class TestLib(TestCase):
# WHEN: we run the validate_thumb() function # WHEN: we run the validate_thumb() function
# THEN: we should have called a few functions, and the result should be True # THEN: we should have called a few functions, and the result should be True
#mocked_os.path.exists.assert_called_with(thumb_path) # mocked_os.path.exists.assert_called_with(thumb_path)
def validate_thumb_file_exists_and_older_test(self): def validate_thumb_file_exists_and_older_test(self):
""" """

View File

@ -70,7 +70,7 @@ class TestFormattingTagForm(TestCase):
form.save_button = MagicMock() form.save_button = MagicMock()
# WHEN: on_text_edited is called with an arbitrary value # WHEN: on_text_edited is called with an arbitrary value
#form.on_text_edited('text') # form.on_text_edited('text')
# THEN: setEnabled and setDefault should have been called on save_push_button # THEN: setEnabled and setDefault should have been called on save_push_button
#form.save_button.setEnabled.assert_called_with(True) # form.save_button.setEnabled.assert_called_with(True)

View File

@ -35,7 +35,7 @@ from bs4 import BeautifulSoup
from tests.functional import patch, MagicMock from tests.functional import patch, MagicMock
from openlp.plugins.bibles.lib.http import BSExtract from openlp.plugins.bibles.lib.http import BSExtract
#TODO: Items left to test # TODO: Items left to test
# BGExtract # BGExtract
# __init__ # __init__
# _remove_elements # _remove_elements
@ -68,7 +68,7 @@ class TestBSExtract(TestCase):
""" """
Test the BSExtractClass Test the BSExtractClass
""" """
#TODO: Items left to test # TODO: Items left to test
# BSExtract # BSExtract
# __init__ # __init__
# get_bible_chapter # get_bible_chapter

View File

@ -47,7 +47,7 @@ class TestPptviewController(TestCase, TestMixin):
""" """
Test the PptviewController Class Test the PptviewController Class
""" """
#TODO: Items left to test # TODO: Items left to test
# PptviewController # PptviewController
# start_process(self) # start_process(self)
# kill # kill
@ -108,7 +108,7 @@ class TestPptviewDocument(TestCase):
""" """
Test the PptviewDocument Class Test the PptviewDocument Class
""" """
#TODO: Items left to test # TODO: Items left to test
# PptviewDocument # PptviewDocument
# __init__ # __init__
# create_thumbnails # create_thumbnails