mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
13 lines
440 B
Python
13 lines
440 B
Python
import hypothesis.strategies as st
|
|
|
|
from test.test_hypothesis.base import BaseTest, commands, values, common_commands
|
|
|
|
|
|
class TestConnection(BaseTest):
|
|
# TODO: tests for select
|
|
connection_commands = (
|
|
commands(st.just("echo"), values)
|
|
| commands(st.just("ping"), st.lists(values, max_size=2))
|
|
# | commands(st.just("swapdb"), dbnums, dbnums)
|
|
)
|
|
command_strategy = connection_commands | common_commands
|