commit 0ed3f8e49d8903fbdc193809620d7f8435ba8993 Author: Dennis Kerschus Date: Mon Mar 1 09:56:36 2021 +0100 test diff --git a/tfstest.py b/tfstest.py new file mode 100644 index 0000000..5ee4271 --- /dev/null +++ b/tfstest.py @@ -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 \ No newline at end of file