Unverified Commit b5eda68b authored by Adriaan de Groot's avatar Adriaan de Groot Committed by Jonah Brüchert
Browse files

Adjust tests in the face of changed escaping rules

parent fc2b4ef3
......@@ -42,7 +42,12 @@ class UtilsTest(unittest.TestCase):
str_id: str = Utils.str_id_for_url(url)
self.assertEqual(str_id, "KDE%2Fkaidan")
self.assertEqual(str_id, "KDE/kaidan")
# This is not a valid repository name for KDE invent, though
url = "ssh://git@invent.kde.org/KDE/kaidan%.git"
str_id = Utils.str_id_for_url(url)
self.assertEqual(str_id, "KDE/kaidan%")
def test_ssh_url_from_http(self):
url: str = "http://invent.kde.org/KDE/kaidan"
......
Supports Markdown
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