File tree Expand file tree Collapse file tree
tests/integration/cqlengine Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ import os
1516import warnings
1617
1718from cassandra .cqlengine import connection
18- from cassandra .cqlengine .management import create_keyspace_simple
19+ from cassandra .cqlengine .management import create_keyspace_simple , CQLENG_ALLOW_SCHEMA_MANAGEMENT
1920
2021from tests .integration import use_single_node , PROTOCOL_VERSION
2122
2223
2324def setup_package ():
2425 warnings .simplefilter ('always' ) # for testing warnings, make sure all are let through
26+ os .environ [CQLENG_ALLOW_SCHEMA_MANAGEMENT ] = '1'
2527
2628 use_single_node ()
2729
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- import os
16-
17- from cassandra .cqlengine .management import CQLENG_ALLOW_SCHEMA_MANAGEMENT
18-
19- def setup_package ():
20- os .environ [CQLENG_ALLOW_SCHEMA_MANAGEMENT ] = '1'
You can’t perform that action at this time.
0 commit comments