Moved devops package to sk module.
All checks were successful
/ unit-tests (push) Successful in 9s

This commit is contained in:
2025-11-03 14:52:20 +01:00
parent f797cd098d
commit b7608dcdf8
3 changed files with 2 additions and 2 deletions

View File

@@ -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"])

View File

@@ -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.