test
This commit is contained in:
commit
0ed3f8e49d
22
tfstest.py
Normal file
22
tfstest.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
from tfs import TFSAPI
|
||||||
|
from requests_negotiate_sspi import HttpNegotiateAuth
|
||||||
|
|
||||||
|
import requests
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
user="admindenker"
|
||||||
|
password="biadmin#kode4meO2"
|
||||||
|
|
||||||
|
# Use DefaultCollection
|
||||||
|
#client = TFSAPI("http://rmsqls0172:8080/tfs/", auth_type=HttpNegotiateAuth)
|
||||||
|
|
||||||
|
# Use CustomCollection
|
||||||
|
#client = TFSAPI("https://tfs.tfs.ru/tfs/", project="DefaultCollection", user=user, password=password)
|
||||||
|
|
||||||
|
# Set path to ProjectName in project parameter
|
||||||
|
client=TFSAPI("http://rmsqls0172:8080/tfs/", project="Datavarehus/",auth_type=HttpNegotiateAuth)
|
||||||
|
|
||||||
|
workitem = client.get_workitem(100) # Test connection with Workitem id
|
||||||
|
#git
|
||||||
Loading…
x
Reference in New Issue
Block a user