From 3510da848c84fac46876bd727b6a1b7986bfd025 Mon Sep 17 00:00:00 2001 From: Bill Sacks Date: Thu, 7 Apr 2022 09:30:44 -0600 Subject: [PATCH] Tweak a unit test to improve coverage Now both branches of the self._url.endswith conditional block from the last commit are covered: test_check_url_same now covers the branch where the URL does *not* already end with '/', and test_repo_dir_synced appears to still cover the branch where the URL *does* already end with '/' (based on seeing that that unit test still fails if that branch is wrong). --- test/test_unit_repository_svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 test/test_unit_repository_svn.py diff --git a/test/test_unit_repository_svn.py b/test/test_unit_repository_svn.py old mode 100644 new mode 100755 index 41b173bf3..d9309df7f --- a/test/test_unit_repository_svn.py +++ b/test/test_unit_repository_svn.py @@ -60,7 +60,7 @@ def setUp(self): self._name = 'component' rdata = {ExternalsDescription.PROTOCOL: 'svn', ExternalsDescription.REPO_URL: - 'https://svn-ccsm-models.cgd.ucar.edu/', + 'https://svn-ccsm-models.cgd.ucar.edu', ExternalsDescription.TAG: 'mosart/trunk_tags/mosart1_0_26', }