Update from upstream #11

Closed
soksanichenko wants to merge 158 commits from a8_updated into a8
2 changed files with 11 additions and 0 deletions
Showing only changes of commit 446334fb95 - Show all commits

View File

@ -534,6 +534,7 @@ class KojiWrapper(object):
retcode, output = run(
command,
can_fail=True,
show_cmd=True,
logfile=log_file,
env=env,
buffer_size=-1,

View File

@ -720,6 +720,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
"cmd",
can_fail=True,
logfile=None,
show_cmd=True,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
universal_newlines=True,
@ -745,6 +746,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={
"KRB5CCNAME": "DIR:/tmp/foo",
@ -772,6 +774,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile="logfile",
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -795,6 +798,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -818,6 +822,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -842,6 +847,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -871,6 +877,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -901,6 +908,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -944,6 +952,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,
@ -980,6 +989,7 @@ class RunBlockingCmdTest(KojiWrapperBaseTestCase):
mock.call(
"cmd",
can_fail=True,
show_cmd=True,
logfile=None,
env={"FOO": "BAR", "PYTHONUNBUFFERED": "1"},
buffer_size=-1,