def test_buildTarballsScript(self):
        builds = []
        def myBuilder(checkout, destination):
            builds.append((checkout, destination))
        tarballBuilder = BuildTarballsScript()
        tarballBuilder.buildAllTarballs = myBuilder

        tarballBuilder.main(["checkoutDir", "destinationDir"])
        self.assertEquals(
            builds,
            [(FilePath("checkoutDir"), FilePath("destinationDir"))])
L{BuildTarballsScript.main} invokes L{buildAllTarballs} with
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/ScriptTests.test_buildTarballsScript