Revision 0babc371 test/ganeti.utils_unittest.py

b/test/ganeti.utils_unittest.py
239 239
  def testResetEnv(self):
240 240
    """Test environment reset functionality"""
241 241
    self.failUnlessEqual(RunCmd(["env"], reset_env=True).stdout.strip(), "")
242
    self.failUnlessEqual(RunCmd(["env"], reset_env=True,
243
                                env={"FOO": "bar",}).stdout.strip(), "FOO=bar")
242 244

  
243 245

  
244 246
class TestRunParts(unittest.TestCase):

Also available in: Unified diff