def test_legacy_paths(self):
    self.assertRunOK('-b', '-q', self.pkgdir)
    self.assertFalse(os.path.exists(self.pkgdir_cachedir))
    expected = sorted(['__init__.py', '__init__.pyc', 'bar.py', 'bar.pyc'])
    self.assertEqual(sorted(os.listdir(self.pkgdir)), expected)
def test_legacy_paths(self):
    self.assertRunOK('-b', '-q', self.pkgdir)
    self.assertFalse(os.path.exists(self.pkgdir_cachedir))
    expected = sorted(['__init__.py', '__init__.pyc', 'bar.py', 'bar.pyc'])
    self.assertEqual(sorted(os.listdir(self.pkgdir)), expected)