D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
imh-python
/
lib
/
python2.7
/
site-packages
/
stevedore
/
tests
/
Filename :
test_example_simple.py
back
Copy
"""Tests for stevedore.example.simple """ from stevedore.example import simple from stevedore.tests import utils class TestExampleSimple(utils.TestCase): def test_simple_items(self): f = simple.Simple(100) text = ''.join(f.format({'a': 'A', 'b': 'B'})) expected = '\n'.join([ 'a = A', 'b = B', '', ]) self.assertEqual(text, expected)