summaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/tst-example-ssh-private.sh6
-rw-r--r--test/integration/tst-example-ssh.sh4
-rw-r--r--test/unit/test_bitbucket.py6
3 files changed, 9 insertions, 7 deletions
diff --git a/test/integration/tst-example-ssh-private.sh b/test/integration/tst-example-ssh-private.sh
index 5929a3e..2977e8e 100644
--- a/test/integration/tst-example-ssh-private.sh
+++ b/test/integration/tst-example-ssh-private.sh
@@ -21,15 +21,15 @@ test_run() {
gitlab-dir/private
test_verify_origin lens 'git@github.com:ekmett/lens.git'
- test_verify_origin chromiumembedded/cef 'git@bitbucket.org:chromiumembedded/cef.git'
+ test_verify_origin chromiumembedded/cef 'git@ssh.bitbucket.org:chromiumembedded/cef.git'
test_verify_origin graphviz 'git@gitlab.com:graphviz/graphviz.git'
test_verify_origin goauthentik-dir/authentik 'git@github.com:goauthentik/authentik.git'
test_verify_origin goauthentik-dir/client-python 'git@github.com:goauthentik/client-python.git'
test_verify_origin github-dir/public 'git@github.com:cgitize-test/public.git'
test_verify_origin github-dir/private 'git@github.com:cgitize-test/private.git'
- test_verify_origin bitbucket-dir/public 'git@bitbucket.org:cgitize-test-workspace/public.git'
- test_verify_origin bitbucket-dir/private 'git@bitbucket.org:cgitize-test-workspace/private.git'
+ test_verify_origin bitbucket-dir/public 'git@ssh.bitbucket.org:cgitize-test-workspace/public.git'
+ test_verify_origin bitbucket-dir/private 'git@ssh.bitbucket.org:cgitize-test-workspace/private.git'
test_verify_origin gitlab-dir/public 'git@gitlab.com:cgitize-test/public.git'
test_verify_origin gitlab-dir/private 'git@gitlab.com:cgitize-test/private.git'
}
diff --git a/test/integration/tst-example-ssh.sh b/test/integration/tst-example-ssh.sh
index cde5cf5..af2e7aa 100644
--- a/test/integration/tst-example-ssh.sh
+++ b/test/integration/tst-example-ssh.sh
@@ -22,12 +22,12 @@ test_run() {
gitlab-dir/private
test_verify_origin lens 'git@github.com:ekmett/lens.git'
- test_verify_origin chromiumembedded/cef 'git@bitbucket.org:chromiumembedded/cef.git'
+ test_verify_origin chromiumembedded/cef 'git@ssh.bitbucket.org:chromiumembedded/cef.git'
test_verify_origin graphviz 'git@gitlab.com:graphviz/graphviz.git'
test_verify_origin goauthentik-dir/authentik 'git@github.com:goauthentik/authentik.git'
test_verify_origin goauthentik-dir/client-python 'git@github.com:goauthentik/client-python.git'
test_verify_origin github-dir/public 'git@github.com:cgitize-test/public.git'
- test_verify_origin bitbucket-dir/public 'git@bitbucket.org:cgitize-test-workspace/public.git'
+ test_verify_origin bitbucket-dir/public 'git@ssh.bitbucket.org:cgitize-test-workspace/public.git'
test_verify_origin gitlab-dir/public 'git@gitlab.com:cgitize-test/public.git'
}
diff --git a/test/unit/test_bitbucket.py b/test/unit/test_bitbucket.py
index 4c47a6a..edf3f98 100644
--- a/test/unit/test_bitbucket.py
+++ b/test/unit/test_bitbucket.py
@@ -48,7 +48,8 @@ class BitbucketTests(unittest.TestCase):
ssh_urls = [link for link in r.data["links"]["clone"] if link["name"] == "ssh"]
self.assertEqual(len(ssh_urls), 1)
self.assertEqual(
- ssh_urls[0]["href"], "git@bitbucket.org:cgitize-test-workspace/public.git"
+ ssh_urls[0]["href"],
+ "git@ssh.bitbucket.org:cgitize-test-workspace/public.git",
)
def test_private_repo(self):
@@ -77,7 +78,8 @@ class BitbucketTests(unittest.TestCase):
ssh_urls = [link for link in r.data["links"]["clone"] if link["name"] == "ssh"]
self.assertEqual(len(ssh_urls), 1)
self.assertEqual(
- ssh_urls[0]["href"], "git@bitbucket.org:cgitize-test-workspace/private.git"
+ ssh_urls[0]["href"],
+ "git@ssh.bitbucket.org:cgitize-test-workspace/private.git",
)
def test_user(self):