Kill the surviving mutants of repos.py and url_beside

This commit is contained in:
2026-11-18 13:06:55 +01:00
parent 3de693f1a5
commit 2776d1694d
4 changed files with 13 additions and 13 deletions
+1
View File
@@ -21,6 +21,7 @@ class UrlBeside(unittest.TestCase):
self.assertEqual(url_beside("git@github.com:acme/billing.git", "ledger"), "git@github.com:acme/ledger")
self.assertEqual(url_beside("https://gitea.larvit.se/acme/billing", "ledger"), "https://gitea.larvit.se/acme/ledger")
self.assertEqual(url_beside("https://gitea.larvit.se/acme/billing.git/", "ledger"), "https://gitea.larvit.se/acme/ledger")
self.assertEqual(url_beside("gitea:billing", "ledger"), "gitea:ledger", "a host with no owner")
def test_names_none_where_the_origin_has_no_place_to_put_a_repo_in(self):
self.assertIsNone(url_beside("billing", "ledger"))