From 0ed3f8e49d8903fbdc193809620d7f8435ba8993 Mon Sep 17 00:00:00 2001 From: Dennis Kerschus Date: Mon, 1 Mar 2021 09:56:36 +0100 Subject: [PATCH] test --- tfstest.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tfstest.py 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