Validate that contexts are not async defs
Open
easy
enhancement
good first issue
help wanted
TestSlide DSL
- Dominant language
- Python
- Stars
- 149
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
This should yield a failure:
```python
@context
def top(context):
@context.sub_context
async def sub(context):
...
```
But is currently being silently ignored. Let's turn this into a failure.
Check:
- `@context`
- `@context.sub_context`
- `@context.shared_context`
Contributor guide
Assessment
This issue has not been assessed yet.