From 9999c896303a790a5091db0a6c062f15c1452fda Mon Sep 17 00:00:00 2001 From: Adam Mercer Date: Thu, 16 May 2019 15:21:56 -0700 Subject: [PATCH] test_utils.py: consistent quote usage --- gwkoji/tests/test_utils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gwkoji/tests/test_utils.py b/gwkoji/tests/test_utils.py index 9361b7c..2167c47 100644 --- a/gwkoji/tests/test_utils.py +++ b/gwkoji/tests/test_utils.py @@ -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') -- GitLab