| Index: tko/parsers/version_0_unittest.py
|
| diff --git a/tko/parsers/version_0_unittest.py b/tko/parsers/version_0_unittest.py
|
| index 4807beecb67d0283844a458ece68a1b420ccc96a..ddcfd09dd18d4870dbe3c72257521ab537816e30 100755
|
| --- a/tko/parsers/version_0_unittest.py
|
| +++ b/tko/parsers/version_0_unittest.py
|
| @@ -216,7 +216,7 @@ class test_status_line(unittest.TestCase):
|
| def test_parse_line_handles_newline(self):
|
| input_data = ("\t\tGOOD\t----\t----\t"
|
| "field1=val1\tfield2=val2\tNo newline here!")
|
| - for suffix in ("", "\n"):
|
| + for suffix in ("", "\n", "\n\n"):
|
| line = version_0.status_line.parse_line(input_data +
|
| suffix)
|
| self.assertEquals(line.indent, 2)
|
| @@ -261,9 +261,8 @@ class test_status_line(unittest.TestCase):
|
|
|
| def test_parse_line_fails_on_bad_optional_fields(self):
|
| input_data = "GOOD\tfield1\tfield2\tfield3\tfield4"
|
| - self.assertRaises(AssertionError,
|
| - version_0.status_line.parse_line,
|
| - input_data)
|
| + self.assertEquals(None,
|
| + version_0.status_line.parse_line(input_data))
|
|
|
|
|
| if __name__ == "__main__":
|
|
|