Verified Commit 9999c896 authored by Adam Mercer's avatar Adam Mercer
Browse files

test_utils.py: consistent quote usage

parent c6d600e5
......@@ -25,12 +25,12 @@ from .. import utils as gwkoji_utils
@pytest.mark.parametrize("source, type_", [
("git+https://git.ligo.org/albert/gr#origin/rhel", "git"),
("mypackage.spec", "spec"),
("mypackage.src.rpm", "srcrpm"),
("mypackage.tar", "tarball"),
("mypackage.tar.gz", "tarball"),
("mypackage.tar.xz", "tarball"),
('git+https://git.ligo.org/albert/gr#origin/rhel', 'git'),
('mypackage.spec', 'spec'),
('mypackage.src.rpm', 'srcrpm'),
('mypackage.tar', 'tarball'),
('mypackage.tar.gz', 'tarball'),
('mypackage.tar.xz', 'tarball'),
])
def test_source_type(source, type_):
assert gwkoji_utils.source_type(source) == type_
......@@ -38,4 +38,4 @@ def test_source_type(source, type_):
def test_source_type_error():
with pytest.raises(ValueError):
gwkoji_utils.source_type("blah")
gwkoji_utils.source_type('blah')
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