Skip to content

Commit a054be3

Browse files
committed
test: add @allow_on_cloud decorator to test_custom_field_option in CustomFieldOptionTests
1 parent 888b3c0 commit a054be3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
from __future__ import annotations
22

3-
from tests.conftest import JiraTestCase
3+
from tests.conftest import JiraTestCase, allow_on_cloud
44

55

66
class CustomFieldOptionTests(JiraTestCase):
7+
@allow_on_cloud
78
def test_custom_field_option(self):
9+
expected = "Extensive / Widespread"
10+
if not self.jira._is_cloud:
11+
expected = "To Do"
812
option = self.jira.custom_field_option("10000")
9-
self.assertEqual(option.value, "To Do")
13+
self.assertEqual(option.value, expected)

0 commit comments

Comments
 (0)