def test_multiple_dirs(self):
    pkgdir2 = os.path.join(self.directory, 'foo2')
    os.mkdir(pkgdir2)
    init2fn = script_helper.make_script(pkgdir2, '__init__', '')
    bar2fn = script_helper.make_script(pkgdir2, 'bar2', '')
    self.assertRunOK('-q', self.pkgdir, pkgdir2)
    self.assertCompiled(self.initfn)
    self.assertCompiled(self.barfn)
    self.assertCompiled(init2fn)
    self.assertCompiled(bar2fn)
def test_multiple_dirs(self):
    pkgdir2 = os.path.join(self.directory, 'foo2')
    os.mkdir(pkgdir2)
    init2fn = script_helper.make_script(pkgdir2, '__init__', )
    bar2fn = script_helper.make_script(pkgdir2, 'bar2', )
    self.assertRunOK('-q', self.pkgdir, pkgdir2)
    self.assertCompiled(self.initfn)
    self.assertCompiled(self.barfn)
    self.assertCompiled(init2fn)
    self.assertCompiled(bar2fn)