Python unittest TestCase which starts Cassandra server on the first setUp and reloads data for every test case
Set pysandraunit settings
| Parameters: | settings – module or class with pysandraunit configuration |
|---|
Accepted options are:
PYSANDRA_SCHEMA_FILE_PATH = ‘path_to_schema’
PYSANDRA_TMP_DIR = ‘/tmp/path’
PYSANDRA_RPC_PORT = port
PYSANDRA_NATIVE_TRANSPORT_PORT = port
PYSANDRA_CASSANDRA_YAML_OPTIONS = {}