mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-09 14:25:25 -05:00
12 lines
298 B
Python
12 lines
298 B
Python
from typing import Type
|
|
|
|
import pytest
|
|
|
|
from backend.data.block import Block, get_blocks
|
|
from backend.util.test import execute_block_test
|
|
|
|
|
|
@pytest.mark.parametrize("block", get_blocks().values(), ids=lambda b: b.name)
|
|
def test_available_blocks(block: Type[Block]):
|
|
execute_block_test(block())
|