Files
deb-python-cassandra-driver/tests/integration/cqlengine/operators/test_base_operator.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

10 lines
321 B
Python

from unittest import TestCase
from cassandra.cqlengine.operators import BaseQueryOperator, QueryOperatorException
class BaseOperatorTest(TestCase):
def test_get_operator_cannot_be_called_from_base_class(self):
with self.assertRaises(QueryOperatorException):
BaseQueryOperator.get_operator('*')