13 lines
297 B
Python
13 lines
297 B
Python
import unittest
|
|
from Core.LineConveyor.Stripper import Stripper
|
|
|
|
|
|
class TestStripper(unittest.TestCase):
|
|
def setUp(self):
|
|
self.stripper = Stripper()
|
|
|
|
def test_stripLine(self):
|
|
line = ' \tSome text \t\r\n'
|
|
newLine = self.stripper.processLine(line)
|
|
|
|
self.assertEqual('Some text', newLine) |