File tree 1 file changed +41
-0
lines changed
airbyte-integrations/connectors/source-microsoft-sharepoint/integration_tests
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2
+ """Airbyte standard connector tests.
3
+
4
+ The FAST Airbyte Standard Tests suite is designed to ensure that connectors meet Airbyte
5
+ protocol standards.
6
+ """
7
+
8
+ from source_microsoft_sharepoint import SourceMicrosoftSharePoint
9
+
10
+ from airbyte_cdk .test import standard_tests
11
+
12
+
13
+ pytest_plugins = ["airbyte_cdk.test.standard_tests.pytest_hooks" ]
14
+
15
+
16
+ class TestAirbyteStandardTests (standard_tests .SourceTestSuiteBase ):
17
+ """Test suite for the Airbyte standard tests.
18
+
19
+ This class inherits from SourceTestSuiteBase and implements all of the tests in the suite.
20
+
21
+ As long as the class name starts with "Test", pytest will automatically discover and run the
22
+ tests in this class.
23
+ """
24
+
25
+ connector = SourceMicrosoftSharePoint
26
+
27
+ @classmethod
28
+ def create_connector (
29
+ cls ,
30
+ scenario : standard_tests .ConnectorTestScenario ,
31
+ ) -> SourceMicrosoftSharePoint :
32
+ """_summary_
33
+
34
+ Returns:
35
+ SourceMicrosoftSharePoint: _description_
36
+ """
37
+ return SourceMicrosoftSharePoint (
38
+ config = scenario .config_dict ,
39
+ state = None ,
40
+ catalog = None ,
41
+ )
You can’t perform that action at this time.
0 commit comments