InflectorsTestCase.test_one_directory()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
import unittest
2
from binstar_client.utils.notebook import inflection
3
4
5
class InflectorsTestCase(unittest.TestCase):
6
    def test_one_directory(self):
7
        self.assertEqual(inflection.parameterize(u"Donald E. Knuth"), 'donald-e-knuth')
8
9
10
if __name__ == '__main__':
11
    unittest.main()
12