From fa9b8143404e77bf8f95a4cf9dc962d3e26a0795 Mon Sep 17 00:00:00 2001 From: Angelika Tarnawa Date: Thu, 26 Oct 2023 14:26:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20removed=20connection=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/integration/test_sharepoint.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tests/integration/test_sharepoint.py b/tests/integration/test_sharepoint.py index d1157fd7a..502ffded0 100644 --- a/tests/integration/test_sharepoint.py +++ b/tests/integration/test_sharepoint.py @@ -168,26 +168,6 @@ def test_get_data_types(file_name): assert "String" in dtypes -# testing get_connection function passing invalid credentials and raises AuthenticationContext error. -def test_get_connection(): - site_url = "https://velux.sharepoint.com/" - credentials = { - "SHAREPOINT_CERT": { - "TENANT": "xxx", - "CLIENT_ID": "123", - "SCOPES": "https://velux.sharepoint.com/", - "THUMBPRINT": "xyz", - "PRIVATE_KEY": "private", - } - } - - spl = SharepointList(credentials=credentials) - with pytest.raises( - AttributeError, match="'SharepointList' object has no attribute 'ctx'" - ): - spl.get_connection(site_url=site_url) - - @pytest.fixture(scope="session") def sharepoint_list(): """