Files
whipper-gui/morituri/test/test_common_path.py
Thomas Vander Stichele c75f71ead3 Add path filter
2013-07-13 18:38:31 +02:00

17 lines
403 B
Python

# -*- Mode: Python; test-case-name: morituri.test.test_common_path -*-
# vi:si:et:sw=4:sts=4:ts=4
from morituri.common import path
from morituri.test import common
class FilterTestCase(common.TestCase):
def setUp(self):
self._filter = path.PathFilter()
def testSlash(self):
part = u'A Charm/A Blade'
self.assertEquals(self._filter.filter(part), u'A Charm-A Blade')