forked from ungleich-public/cdist
update test: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
fb705adc5d
commit
e715dbb801
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class LocalTestCase(unittest.TestCase):
|
||||||
fd = open(script, "w")
|
fd = open(script, "w")
|
||||||
fd.writelines(["#!/bin/sh\n", "echo foobar"])
|
fd.writelines(["#!/bin/sh\n", "echo foobar"])
|
||||||
fd.close()
|
fd.close()
|
||||||
self.assertEqual(self.local.run_script(script), "foobar\n")
|
self.assertEqual(self.local.run_script(script, return_output=True), "foobar\n")
|
||||||
|
|
||||||
def test_mkdir(self):
|
def test_mkdir(self):
|
||||||
temp_dir = self.mkdtemp(dir=self.temp_dir)
|
temp_dir = self.mkdtemp(dir=self.temp_dir)
|
||||||
|
|
Loading…
Reference in a new issue