Skip to content

Commit fa3d551

Browse files
lpenetinstanceofme
andauthored
Remove obsolete test - exception is raised by backend.
Co-authored-by: Adrien Lavoillotte <[email protected]>
1 parent 92fdecd commit fa3d551

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dataikuapi/dss/plugin.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ def delete(self, force=False):
144144
}
145145
ret = self.client._perform_json("POST", "/plugins/{pluginId}/actions/delete".format(pluginId=self.plugin_id),
146146
body=params)
147-
# we check for the presence of a field of the aggregated usage statistics structure returned
148-
# when the plugin exist and has usages
149-
if "projectCount" in ret:
150-
raise DataikuException("Plugin has usages or analysis errors. See list_usages() for more info.")
151147
return self.client.get_future(ret.get("jobId", None))
152148

153149
########################################################

0 commit comments

Comments
 (0)