Skip to content

Commit 102d356

Browse files
committed
Updated tests
1 parent b262e32 commit 102d356

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/test_base.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# coding: utf8
2-
from atlassian import Jira, Confluence, Bitbucket, Portfolio, Bamboo, Crowd
2+
from atlassian import Jira, Confluence, Bitbucket, Portfolio, Bamboo, Crowd, ServiceDesk
33
import os
44

55

66
BAMBOO_URL = os.environ.get('BAMBOO_URL', 'http://localhost:8085')
77
JIRA_URL = os.environ.get('BAMBOO_URL', 'http://localhost:8080')
88
CONFLUENCE_URL = os.environ.get('BAMBOO_URL', 'http://localhost:8090')
99
STASH_URL = os.environ.get('BAMBOO_URL', 'http://localhost:7990')
10+
SERVICE_DESK_URL = os.environ.get('SERVICE_DESK_URL', 'http://localhost:8080')
1011

1112
CROWD_URL = os.environ.get('CROWD_URL', 'http://localhost:8095/crowd')
1213
CROWD_APPLICATION = os.environ.get('CROWD_APPLICATION', 'bamboo')
@@ -51,3 +52,10 @@ def test_init_crowd(self):
5152
url=CROWD_URL,
5253
username=CROWD_APPLICATION,
5354
password=CROWD_APPLICATION_PASSWORD)
55+
56+
def test_init_service_desk(self):
57+
service_desk = ServiceDesk(
58+
url=SERVICE_DESK_URL,
59+
username=ATLASSIAN_USER,
60+
password=ATLASSIAN_PASSWORD
61+
)

0 commit comments

Comments
 (0)