container-registry / harbor-api-client

Undefined name detected PYL-E0602
Bug risk
Critical
a year agoa year old
Undefined variable 'api'
24    """WebhookjobApi unit test stubs"""
25
26    def setUp(self):
27        self.api = api.webhookjob_api.WebhookjobApi()  # noqa: E50128
29    def tearDown(self):
30        pass
Undefined variable 'api'
24    """WebhookApi unit test stubs"""
25
26    def setUp(self):
27        self.api = api.webhook_api.WebhookApi()  # noqa: E50128
29    def tearDown(self):
30        pass
Undefined variable 'api'
24    """UsergroupApi unit test stubs"""
25
26    def setUp(self):
27        self.api = api.usergroup_api.UsergroupApi()  # noqa: E50128
29    def tearDown(self):
30        pass
Undefined variable 'api'
 24    """UserApi unit test stubs"""
 25
 26    def setUp(self):
 27        self.api = api.user_api.UserApi()  # noqa: E501 28
 29    def tearDown(self):
 30        pass
Undefined variable 'api'
24    """SysteminfoApi unit test stubs"""
25
26    def setUp(self):
27        self.api = api.systeminfo_api.SysteminfoApi()  # noqa: E50128
29    def tearDown(self):
30        pass