Skip to content

Commit 8bdc43a

Browse files
committed
Update tests and test settings
1 parent e47cba8 commit 8bdc43a

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
]
3333

3434
async_test_dependencies = test_dependencies + [
35-
"pytest-asyncio<1", # for async
35+
"pytest-asyncio>=0.18.2,<1", # for async
3636
"aiohttp>=3,<4", # for async
3737
]
3838

tests/slack_bolt/workflows/step/test_step.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,18 @@ def test_build(self):
1616
def test_build_errors(self):
1717
with pytest.raises(BoltError):
1818
step = WorkflowStep.builder("foo")
19-
step.edit(None)
2019
step.save(just_ack)
2120
step.execute(just_ack)
2221
step.build()
2322
with pytest.raises(BoltError):
2423
step = WorkflowStep.builder("foo")
2524
step.edit(just_ack)
26-
step.save(None)
2725
step.execute(just_ack)
2826
step.build()
2927
with pytest.raises(BoltError):
3028
step = WorkflowStep.builder("foo")
3129
step.edit(just_ack)
3230
step.save(just_ack)
33-
step.execute(None)
3431
step.build()
3532

3633

tests/slack_bolt_async/workflows/step/test_async_step.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,18 @@ def test_build(self):
1616
def test_build_errors(self):
1717
with pytest.raises(BoltError):
1818
step = AsyncWorkflowStep.builder("foo")
19-
step.edit(None)
2019
step.save(just_ack)
2120
step.execute(just_ack)
2221
step.build()
2322
with pytest.raises(BoltError):
2423
step = AsyncWorkflowStep.builder("foo")
2524
step.edit(just_ack)
26-
step.save(None)
2725
step.execute(just_ack)
2826
step.build()
2927
with pytest.raises(BoltError):
3028
step = AsyncWorkflowStep.builder("foo")
3129
step.edit(just_ack)
3230
step.save(just_ack)
33-
step.execute(None)
3431
step.build()
3532

3633

0 commit comments

Comments
 (0)