Beispiel #1
0
 def test_format_prop_with_header(self):
     props = [('a', 'b')]
     assert_that(UnityDoc.format_prop(props, header=('name', 'value')),
                 equal_to(['name  value', 'a     b']))
Beispiel #2
0
 def test_format_prop_with_header(self):
     props = [('a', 'b')]
     assert_that(UnityDoc.format_prop(props, header=('name', 'value')),
                 equal_to(['name  value', 'a     b']))
Beispiel #3
0
 def test_format_prop_no_header(self):
     props = [('a', 'b'), ('cc', 'dd')]
     assert_that(UnityDoc.format_prop(props), equal_to(['a   b', 'cc  dd']))
Beispiel #4
0
 def test_format_prop_no_header(self):
     props = [('a', 'b'), ('cc', 'dd')]
     assert_that(UnityDoc.format_prop(props), equal_to(['a   b', 'cc  dd']))