Verified Commit 6ee6c19e authored by Adam Mercer's avatar Adam Mercer 💬

test_build.py: consistent quote usage

parent 829d248d
......@@ -24,13 +24,13 @@ from unittest import mock
from .. import build as gwkoji_build
@mock.patch("gwkoji.build.find_executable", return_value="/usr/bin/spectool")
@mock.patch("gwkoji.build.logged_check_call")
@mock.patch('gwkoji.build.find_executable', return_value='/usr/bin/spectool')
@mock.patch('gwkoji.build.logged_check_call')
def test_download_spec_sources(call, _):
gwkoji_build.download_spec_sources("test.spec", "outdir", logger=1)
gwkoji_build.download_spec_sources('test.spec', 'outdir', logger=1)
call.assert_called_once_with(
["/usr/bin/spectool", "--get-files", "--directory",
"outdir", "test.spec"],
['/usr/bin/spectool', '--get-files', '--directory',
'outdir', 'test.spec'],
logger=1,
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment