Skip to content

Skipping linux consumption test for python 3.7 for V3 #1009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tests/endtoend/test_linux_consumption.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from unittest import TestCase

import os
import sys
from unittest import TestCase, skipIf

from requests import Request

from azure_functions_worker.testutils_lc import (
LinuxConsumptionWebHostController
)
from azure_functions_worker.utils.common import is_python_version


class TestLinuxConsumption(TestCase):
Expand Down Expand Up @@ -56,6 +57,8 @@ def test_http_no_auth(self):
resp = ctrl.send_request(req)
self.assertEqual(resp.status_code, 200)

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

Expand Down