You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "CamilleTeruel (via GitHub)" <gi...@apache.org> on 2023/03/29 18:21:49 UTC

[GitHub] [incubator-devlake] CamilleTeruel commented on a diff in pull request #4812: Test azuredevops plugin

CamilleTeruel commented on code in PR #4812:
URL: https://github.com/apache/incubator-devlake/pull/4812#discussion_r1152329383


##########
backend/python/plugins/azuredevops/tests/plugin_test.py:
##########
@@ -0,0 +1,24 @@
+import os
+import pytest
+
+from pydevlake.testing import assert_valid_plugin, assert_plugin_run
+
+from azuredevops.models import AzureDevOpsConnection, AzureDevOpsTransformationRule
+from azuredevops.main import AzureDevOpsPlugin
+
+
+def test_valid_plugin():
+    assert_valid_plugin(AzureDevOpsPlugin())
+
+
+def test_valid_plugin_and_connection():
+    token = os.environ.get('AZURE_DEVOPS_TOKEN')
+    token = "2im76saazkqi5a5aonkhkaxy5y457nbnmlbkbcxnewfhhrr7es7a"

Review Comment:
   Blunder . This is a leftover for testing locally...



-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org