Not integrated with existing integration ccm operation. There is a handful of failing cqlengine tests in the commit, that worked before the move.
14 lines
433 B
Python
14 lines
433 B
Python
from cassandra.cqlengine import connection
|
|
from cassandra.cqlengine.management import create_keyspace
|
|
|
|
from tests.integration import PROTOCOL_VERSION
|
|
|
|
|
|
def setup_package():
|
|
keyspace = 'cqlengine_test'
|
|
connection.setup(['localhost'],
|
|
protocol_version=PROTOCOL_VERSION,
|
|
default_keyspace=keyspace)
|
|
|
|
create_keyspace(keyspace, replication_factor=1, strategy_class="SimpleStrategy")
|