Moved tests to paramecio root

This commit is contained in:
Antonio de la Rosa 2016-08-03 02:49:33 +02:00
parent c50629e2c7
commit a04a9e1e86
14 changed files with 2 additions and 0 deletions

15
tests/slugifytest.py Normal file
View file

@ -0,0 +1,15 @@
from settings import config
from paramecio.citoplasma import slugify
import unittest
class TestFieldMethods(unittest.TestCase):
def test_slugify(self):
phrase=slugify.slugify('this!()is a crap phrase o}çÇf oh yeah¡\'')
self.assertEqual(phrase, 'this---is-a-crap-phrase-o---f-oh-yeah--')
if __name__ == '__main__':
unittest.main()