minor changes

This commit is contained in:
phill-ridout 2013-03-29 21:27:43 +00:00
parent 03db7ff2a3
commit dcf2cae3a1
2 changed files with 5 additions and 5 deletions

View File

@ -48,9 +48,9 @@ NOTE_REGEX = re.compile(r'\(.*?\)')
class FieldDescEntry:
def __init__(self, name, type, size):
def __init__(self, name, field_type, size):
self.name = name
self.type = type
self.type = field_type
self.size = size

View File

@ -15,9 +15,9 @@ from openlp.plugins.songs.lib.ewimport import EasyWorshipSongImport, FieldDescEn
TEST_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), u'../../../resources'))
class TestFieldDesc:
def __init__(self, name, type, size):
def __init__(self, name, field_type, size):
self.name = name
self.type = type
self.type = field_type
self.size = size
TEST_DATA_ENCODING = u'cp1252'
@ -70,7 +70,7 @@ class TestEasyWorshipSongImport(TestCase):
# THEN: The importer object should not be None
self.assertIsNotNone(importer, u'Import should not be none')
def find_field_test(self):
def find_field_exists_test(self):
"""
Test finding a field in a given list using the :mod:`findField`
"""