def test_get_attachment_color(): srv = Service({}) assert type(srv.get_attachment_color({'type': 'story'})) == str
def test_get_attachment_color_empty(): srv = Service({}) assert type(srv.get_attachment_color()) == str