keon94 commented on code in PR #4906:
URL:
https://github.com/apache/incubator-devlake/pull/4906#discussion_r1179616357
##########
backend/test/e2e/remote/python_plugin_test.go:
##########
@@ -159,4 +159,8 @@ func TestBlueprintV200(t *testing.T) {
project := client.GetProject(projectName)
require.Equal(t, blueprint.Name, project.Blueprint.Name)
client.TriggerBlueprint(blueprint.ID)
+
+ bps := client.DeleteScope(PLUGIN_NAME, connection.ID, scope.Id)
+ require.Equal(t, 1, len(bps))
+ require.Equal(t, blueprint.ID, bps[0].ID)
Review Comment:
This is more of an e2e for a full blueprint lifecycle - triggering is just a
part of it, and it includes creating a scope. Also, need the blueprint to be
triggered in advance anyway so that we have plugin data in the tables (which
gets deleted when DeleteScope is called)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]