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']))
def test_format_prop_no_header(self): props = [('a', 'b'), ('cc', 'dd')] assert_that(UnityDoc.format_prop(props), equal_to(['a b', 'cc dd']))