Skip to content

Commit

Permalink
fix test (was failing on PYTHONPATH=)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Allard authored and Dustin J. Mitchell committed Mar 16, 2010
1 parent 9fd7df8 commit 1812070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildbot/test/unit/test_slave_commands_base.py
@@ -1,4 +1,4 @@
import sys
import sys, re

from twisted.trial import unittest
from twisted.internet import task, defer
Expand Down Expand Up @@ -214,7 +214,7 @@ def testUnsetEnvironVar(self):
d = s.start()
def check(ign):
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
self.failUnless("PATH=" not in headers)
self.failUnless(not re.match('\bPATH=',headers))
d.addCallback(check)
return d

Expand Down

0 comments on commit 1812070

Please sign in to comment.