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

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

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


##########
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:
   should we not remove this?



-- 
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