We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338473a commit 464bb18Copy full SHA for 464bb18
2 files changed
tests/integration/cqlengine/model/test_class_construction.py
@@ -70,7 +70,7 @@ def test_attempting_to_make_duplicate_column_names_fails(self):
70
Tests that trying to create conflicting db column names will fail
71
"""
72
73
- with self.assertRaisesRegex(ModelException, r".*more than once$"):
+ with self.assertRaisesRegexp(ModelException, r".*more than once$"):
74
class BadNames(Model):
75
words = columns.Text(primary_key=True)
76
content = columns.Text(db_field='words')
tests/integration/cqlengine/test_ifexists.py
@@ -30,7 +30,7 @@
30
31
class TestIfExistsModel(Model):
32
33
- id = columns.Integer(primary_key=True, default=lambda: uuid4())
+ id = columns.UUID(primary_key=True, default=lambda: uuid4())
34
count = columns.Integer()
35
text = columns.Text(required=False)
36
0 commit comments