From bf7f8518f79f679a076a6e83232050f9c265a7bb Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 3 Jul 2006 06:35:14 +0000 Subject: [PATCH] build test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builder constructor değişmiş. Environment her seferinde sıfırlanıyor. --- tests/buildtests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/buildtests.py b/tests/buildtests.py index 937eb456..a90e9236 100644 --- a/tests/buildtests.py +++ b/tests/buildtests.py @@ -34,7 +34,7 @@ class BuildTestCase(testcase.TestCase): def testBasicBuild(self): shutil.copy('tests/buildtests/a/actions.py-1', 'tests/buildtests/a/actions.py') pspec = 'tests/buildtests/a/pspec.xml' - pb = Builder(pspec, None) + pb = Builder(pspec) pb.build() self.assert_(os.path.exists('tmp/a-1.0-1-1.pisi')) @@ -44,10 +44,11 @@ class BuildTestCase(testcase.TestCase): pspec = 'tests/buildtests/a/pspec.xml' shutil.copy('tests/buildtests/a/actions.py-2', 'tests/buildtests/a/actions.py') - pb = Builder(pspec, None) + pb = Builder(pspec) pb.build() self.assert_(os.path.exists('tmp/a-1.0-1-2.pisi')) - + + pb = Builder(pspec) pb.build() # because nothing is changed self.assert_(not os.path.exists('tmp/a-1.0-1-3.pisi'))