Skip to content

Commit f545f82

Browse files
committed
test: add @allow_on_cloud decorator to multiple epic tests in EpicTests
1 parent a054be3 commit f545f82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/resources/test_epic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from parameterized import parameterized
88

99
from jira.resources import Issue
10-
from tests.conftest import JiraTestCase, rndstr
10+
from tests.conftest import JiraTestCase, allow_on_cloud, rndstr
1111

1212

1313
class EpicTests(JiraTestCase):
@@ -47,10 +47,12 @@ def make_epic(self, **kwargs) -> Iterator[Issue]:
4747
finally:
4848
new_epic.delete()
4949

50+
@allow_on_cloud
5051
def test_epic_create_delete(self):
5152
with self.make_epic():
5253
pass
5354

55+
@allow_on_cloud
5456
@parameterized.expand(
5557
[("str", str), ("list", list)],
5658
)

0 commit comments

Comments
 (0)