

def test_create_drop_succeeeds(self):
    cluster = get_cluster()
    keyspace_ss = 'test_ks_ss'
    self.assertNotIn(keyspace_ss, cluster.metadata.keyspaces)
    management.create_keyspace_simple(keyspace_ss, 2)
    self.assertIn(keyspace_nts, cluster.metadata.keyspaces)
    management.drop_keyspace(keyspace_ss)
    self.assertNotIn(keyspace_ss, cluster.metadata.keyspaces)
    keyspace_nts = 'test_ks_nts'
    self.assertNotIn(keyspace_nts, cluster.metadata.keyspaces)
    management.create_keyspace_network_topology(keyspace_nts, {
        'dc1': 1,
    })
    self.assertIn(keyspace_nts, cluster.metadata.keyspaces)
    management.drop_keyspace(keyspace_nts)
    self.assertNotIn(keyspace_nts, cluster.metadata.keyspaces)

dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/management/test_management.py KeyspaceManagementTest.test_create_drop_succeeeds/VarMisuse@46/72 `keyspace_ss`->`keyspace_nts`