Test: Corrected report output

- With rc.print.empty.columns now suppressing indicator formats, test that use
  the 'ls' report have different alignment.
This commit is contained in:
Paul Beckingham 2015-07-11 22:12:18 -04:00
parent e930bb0ba9
commit 415690ca23

View file

@ -47,14 +47,14 @@ class TestHyphenation(TestCase):
"""Split on space instead of hyphenating"""
self.t("add AAAAAAAAAA BBBBBBBBBB")
code, out, err = self.t("ls")
self.assertIn("1 AAAAAAAAAA\n", out)
self.assertIn("1 AAAAAAAAAA\n", out)
@unittest.expectedFailure
def test_hyphenation(self):
"""Verify hyphenation in the absence of white space"""
self.t("add AAAAAAAAAABBBBBBBBBBCCCCCCCCCC")
code, out, err = self.t("ls")
self.assertIn("1 AAAAAAAAAABBBB-\n", out)
self.assertIn("1 AAAAAAAAAABBBB-\n", out)
if __name__ == "__main__":
from simpletap import TAPTestRunner