class BeginNewlineCheckTest(CheckTestCase): check = BeginNewlineCheck() def setUp(self): super(BeginNewlineCheckTest, self).setUp() self.test_good_matching = ('\nstring', '\nstring', '') self.test_failure_1 = ('\nstring', ' \nstring', '') self.test_failure_2 = ('string', '\nstring', '')
class BeginNewlineCheckTest(CheckTestCase): check = BeginNewlineCheck() def setUp(self): super().setUp() self.test_good_matching = ("\nstring", "\nstring", "") self.test_failure_1 = ("\nstring", " \nstring", "") self.test_failure_2 = ("string", "\nstring", "")