File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) Microsoft Corporation. All rights reserved.
2
2
# Licensed under the MIT License.
3
- from unittest import TestCase
4
-
5
3
import os
6
4
import sys
5
+ from unittest import TestCase , skipIf
6
+
7
7
from requests import Request
8
8
9
9
from azure_functions_worker .testutils_lc import (
10
10
LinuxConsumptionWebHostController
11
11
)
12
+ from azure_functions_worker .utils .common import is_python_version
12
13
13
14
14
15
class TestLinuxConsumption (TestCase ):
@@ -56,6 +57,8 @@ def test_http_no_auth(self):
56
57
resp = ctrl .send_request (req )
57
58
self .assertEqual (resp .status_code , 200 )
58
59
60
+ @skipIf (is_python_version ('3.7' ),
61
+ "Skip the tests for Python 3.7." )
59
62
def test_common_libraries (self ):
60
63
"""A function app with the following requirements.txt:
61
64
You can’t perform that action at this time.
0 commit comments