Skip to content

Commit 1b7a5b9

Browse files
Gavin AguiarGavin Aguiar
authored andcommitted
Skipping durable tests
1 parent b4f0a64 commit 1b7a5b9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/endtoend/test_blob_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33
import time
4-
from json import JSONDecodeError
4+
5+
from requests import JSONDecodeError
56

67
from tests.utils import testutils
78

tests/endtoend/test_durable_functions.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
3+
from unittest import skipIf
34

5+
from azure_functions_worker.utils.common import is_envvar_true
46
from tests.utils import testutils
7+
from tests.utils.constants import DEDICATED_DOCKER_TEST, CONSUMPTION_DOCKER_TEST
58

69

10+
@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
11+
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
12+
"This will be fixed in "
13+
"https://github.com/Azure/azure-functions-python-worker/pull/1199")
714
class TestDurableFunctions(testutils.WebHostTestCase):
815

916
@classmethod

0 commit comments

Comments
 (0)