Beispiel #1
0
    def setUpClass(cls):
        super(TestQuerySetCountSelectionAndIteration, cls).setUpClass()

        from cqlengine.tests.query.test_queryset import TestModel

        ks, tn = TestModel.column_family_name().split('.')
        cls.keyspace = NamedKeyspace(ks)
        cls.table = cls.keyspace.table(tn)
Beispiel #2
0
 def setUpClass(cls):
     super(TestQuerySetOperation, cls).setUpClass()
     cls.keyspace = NamedKeyspace('cqlengine_test')
     cls.table = cls.keyspace.table('test_model')