@patch('cheeseprism.index.IndexManager.regenerate_leaf')
    def test_regenerate_leaf_event(self, rl):
        from cheeseprism.event import PackageAdded
        from cheeseprism.index import rebuild_leaf

        event = PackageAdded(self.im, self.tdir / path('dummypackage2/dist/dummypackage-0.1.tar.gz'))
        out = rebuild_leaf(event)
        assert out is not None
        assert rl.call_args == (('dummypackage',), {})
Was the Yadis protocol's indirection used?
dataset/ETHPy150Open SMFOSS/CheesePrism/tests/test_index.py/IndexTestCase.test_regenerate_leaf_event--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/openid/yadis/discover.py/DiscoveryResult.usedYadisLocation