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):
5252
5353
5454@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]
5656 def _get_project (project_id ):
5757 if project_id == project_data ["id" ].hex :
5858 data = {
@@ -67,10 +67,10 @@ def _get_project(project_id):
6767 "domain_id" : "default" ,
6868 }
6969 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]
7272
73- conn = MagicMock (spec_set = openstack .connection .Connection )
73+ conn = MagicMock (spec_set = openstack .connection .Connection ) # pyright: ignore[reportAttributeAccessIssue]
7474 conn .identity .get_project .side_effect = _get_project
7575 return conn
7676
You can’t perform that action at this time.
0 commit comments