13 lines
227 B
Python
13 lines
227 B
Python
import pytest
|
|
|
|
import pynecone as pc
|
|
|
|
|
|
@pytest.fixture
|
|
def data_table_state(request):
|
|
class DataTableState(pc.State):
|
|
data = request.param["data"]
|
|
columns = ["column1", "column2"]
|
|
|
|
return DataTableState
|