Пофиксил тесты

This commit is contained in:
rzaitov 2013-11-13 19:13:07 +04:00
parent 9fd63b8bfa
commit 88b4de94c8
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ from parsers.SettingsParser.SettingsParser import SettingsParser
class TestSettingsParser(unittest.TestCase):
def setUp(self):
self.preprocessor = NullPreprocessor()
self.parser = SettingsParser(self.preprocessor)
self.parser = SettingsParser(self.preprocessor, None)
def test_processLine(self):
line1 = "x.y.name1 = 'value1'"
@ -44,7 +44,7 @@ class TestSettingsParser(unittest.TestCase):
class PartialSettingsParser(SettingsParser):
def __init__(self, textPreprocessor):
SettingsParser.__init__(self, textPreprocessor)
SettingsParser.__init__(self, textPreprocessor, None)
self.processLineCall = 0
def processLine(self, line):