'Tests the spec finding logic used by concretization.'

def test_find_spec_parents(self):

    s = Spec('a    +foo', Spec('b    +foo', Spec('c'), Spec('d    +foo')), Spec('e    +foo'))
    assert ('a' == find_spec(s['b'], (lambda s: ('+foo' in s))).name)
