Skip to content

Commit 4050df3

Browse files
authored
Skipping lc test for V3 release (#1009)
1 parent 548e582 commit 4050df3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/endtoend/test_linux_consumption.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
3-
from unittest import TestCase
4-
53
import os
64
import sys
5+
from unittest import TestCase, skipIf
6+
77
from requests import Request
88

99
from azure_functions_worker.testutils_lc import (
1010
LinuxConsumptionWebHostController
1111
)
12+
from azure_functions_worker.utils.common import is_python_version
1213

1314

1415
class TestLinuxConsumption(TestCase):
@@ -56,6 +57,8 @@ def test_http_no_auth(self):
5657
resp = ctrl.send_request(req)
5758
self.assertEqual(resp.status_code, 200)
5859

60+
@skipIf(is_python_version('3.7'),
61+
"Skip the tests for Python 3.7.")
5962
def test_common_libraries(self):
6063
"""A function app with the following requirements.txt:
6164

0 commit comments

Comments
 (0)