This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from devops import Organization
|
from sk.devops import Organization
|
||||||
org = Organization("https://dev.azure.com/mcovsandbox")
|
org = Organization("https://dev.azure.com/mcovsandbox")
|
||||||
|
|
||||||
# print(org.projects["bafe0cf1-6c97-4088-864a-ea6dc02b2727"].repositories["feac266f-84d2-41bc-839b-736925a85eaa"].items["/generate-pat.py"])
|
# print(org.projects["bafe0cf1-6c97-4088-864a-ea6dc02b2727"].repositories["feac266f-84d2-41bc-839b-736925a85eaa"].items["/generate-pat.py"])
|
||||||
|
|||||||
2
tests.py
2
tests.py
@@ -2,7 +2,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
import requests
|
import requests
|
||||||
from azure.identity import DefaultAzureCredential
|
from azure.identity import DefaultAzureCredential
|
||||||
from devops import DEVOPS_SCOPE, Organization, Repository, Project, Item
|
from sk.devops import DEVOPS_SCOPE, Organization, Repository, Project, Item
|
||||||
|
|
||||||
# Get the token outside the test class to speed up tests.
|
# Get the token outside the test class to speed up tests.
|
||||||
# Each Unit test instantinates the class, so doing it here avoids repeated authentication.
|
# Each Unit test instantinates the class, so doing it here avoids repeated authentication.
|
||||||
|
|||||||
Reference in New Issue
Block a user