This commit is contained in:
Dennis Kerschus 2021-03-01 09:56:36 +01:00
commit 0ed3f8e49d

22
tfstest.py Normal file
View 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