Verified Commit 215ad551 authored by Adam Mercer's avatar Adam Mercer 💬 consistent quote usage

parent 6ee6c19e
......@@ -28,15 +28,15 @@ import pytest
from .. import options as gwkoji_options
@mock.patch.object(sys, "argv", ["gwkoji-packager", "test.spec", "--spec"])
@mock.patch.object(sys, 'argv', ['gwkoji-packager', 'test.spec', '--spec'])
def test_parse_options():
args = gwkoji_options.parse_options()
assert args.source == Path("test.spec")
assert args.source_type == "spec"
assert args.source == Path('test.spec')
assert args.source_type == 'spec'
@mock.patch.object(sys, "argv",
["gwkoji-packager", "test.spec", "--spec", "--tarball"])
@mock.patch.object(sys, 'argv',
['gwkoji-packager', 'test.spec', '--spec', '--tarball'])
def test_parse_options_exclusive_source_type():
with pytest.raises(SystemExit):
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