Skip to content

Commit

Permalink
Tweak a unit test to improve coverage
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
billsacks committed Apr 7, 2022
1 parent eb7fc13 commit 3510da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_unit_repository_svn.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down

0 comments on commit 3510da8

Please sign in to comment.