Files
deb-python-cassandra-driver/tests/integration/cqlengine/__init__.py
Adam Holmberg 4698509727 Reloate cqlengine tests to integration tests, update imports
Not integrated with existing integration ccm operation.
There is a handful of failing cqlengine tests in the commit, that worked
before the move.
2015-02-04 11:56:19 -06:00

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")