Skip to content

Commit 1947f36

Browse files
committed
enable ssh-url, GITBUKCET_NAMESPACE
1 parent 10e515a commit 1947f36

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/integration/test_gitbucket.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@
2121

2222
class Test_Gitbucket(GitRepoTestCase):
2323
log = log
24-
namespace = "user"
24+
namespace = os.environ['GITBUCKET_NAMESPACE']
25+
2526

2627
@property
2728
def local_namespace(self):
29+
if 'GITBUCKET_NAMESPACE' in os.environ:
30+
return os.environ['GITBUCKET_NAMESPACE']
2831
return 'user'
2932

3033
def get_service(self):
@@ -34,6 +37,7 @@ def get_service(self):
3437
'port': "8080",
3538
'scheme': "http",
3639
'insecure': 'yes',
40+
'ssh-url': 'ssh://git@localhost:29418'
3741
})
3842

3943
def get_requests_session(self):

0 commit comments

Comments
 (0)