@patch('pkginfo.sdist.SDist', new=Mock(return_value=True))
    def test_pkginfo_from_file_sdist(self):        
        from cheeseprism.index import IndexManager
        for ext in ('.gz','.tgz', '.bz2', '.zip'):
            assert IndexManager.pkginfo_from_file('blah.%s' %ext) is True
.pkginfo_from_file: sdist
dataset/ETHPy150Open SMFOSS/CheesePrism/tests/test_index.py/ClassOrStaticMethods.test_pkginfo_from_file_sdist