File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3737 GHSA-pq67-6m6q-mj2v
3838 summary : true
3939 vulnerability-service : osv
40- inputs : requirements.txt requirements-dev.txt
40+ inputs : .
4141
4242 qa-checks-and-unit-tests :
4343 needs : [vulnerability-scan]
Original file line number Diff line number Diff line change 4848from pyatlan .model .user import UserMinimalResponse
4949from tests .integration .client import TestId
5050from tests .integration .lineage_test import create_database , delete_asset
51- from tests .integration .requests_test import delete_token
51+ from tests .integration .requests_test import create_token , delete_token
5252
5353CLASSIFICATION_NAME = "Issue"
5454CLASSIFICATION_NAME2 = "Confidential"
6565call_count = 0
6666
6767
68+ @pytest .fixture (scope = "module" )
69+ def token (client : AtlanClient ) -> Generator [ApiToken , None , None ]:
70+ token = None
71+ try :
72+ token = create_token (client , MODULE_NAME )
73+ yield token
74+ finally :
75+ delete_token (client , token )
76+
77+
6878@pytest .fixture (scope = "module" )
6979def expired_token (client : AtlanClient ) -> Generator [ApiToken , None , None ]:
7080 token = None
You can’t perform that action at this time.
0 commit comments