InflectorsTestCase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_one_directory() 0 2 1
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