File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
python/understack-workflows/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def project_data(domain_id: uuid.UUID, project_id: uuid.UUID):
52
52
53
53
54
54
@pytest .fixture
55
- def os_conn (project_data : dict ) -> openstack .connection .Connection :
55
+ def os_conn (project_data : dict ) -> openstack .connection .Connection : # pyright: ignore[reportAttributeAccessIssue]
56
56
def _get_project (project_id ):
57
57
if project_id == project_data ["id" ].hex :
58
58
data = {
@@ -67,10 +67,10 @@ def _get_project(project_id):
67
67
"domain_id" : "default" ,
68
68
}
69
69
else :
70
- raise openstack .exceptions .NotFoundException
71
- return openstack .identity .v3 .project .Project (** data )
70
+ raise openstack .exceptions .NotFoundException # pyright: ignore[reportAttributeAccessIssue]
71
+ return openstack .identity .v3 .project .Project (** data ) # pyright: ignore[reportAttributeAccessIssue]
72
72
73
- conn = MagicMock (spec_set = openstack .connection .Connection )
73
+ conn = MagicMock (spec_set = openstack .connection .Connection ) # pyright: ignore[reportAttributeAccessIssue]
74
74
conn .identity .get_project .side_effect = _get_project
75
75
return conn
76
76
You can’t perform that action at this time.
0 commit comments