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
# 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):
"""

View File

@ -70,7 +70,7 @@ class TestFormattingTagForm(TestCase):
form.save_button = MagicMock()
# 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
#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 openlp.plugins.bibles.lib.http import BSExtract
#TODO: Items left to test
# TODO: Items left to test
# BGExtract
# __init__
# _remove_elements
@ -68,7 +68,7 @@ class TestBSExtract(TestCase):
"""
Test the BSExtractClass
"""
#TODO: Items left to test
# TODO: Items left to test
# BSExtract
# __init__
# get_bible_chapter

View File

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