Skip to content

Commit

Permalink
fixes ci_text_max_length test
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeiJp committed Aug 17, 2024
1 parent 481db42 commit b723de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_filling_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ def test_filling_citextfield(self, person):
def test_filling_citextfield_with_max_length(self, person):
ci_text_max_length_field = models.Person._meta.get_field("ci_text_max_length")
assert isinstance(ci_text_max_length_field, CITextField)
assert isinstance(person.ci_text, str)
assert len(person.ci_text) == ci_text_max_length_field.max_length
assert isinstance(person.ci_text_max_length, str)
assert len(person.ci_text_max_length) == ci_text_max_length_field.max_length

def test_filling_decimal_range_field(self, person):
try:
Expand Down

0 comments on commit b723de2

Please sign in to comment.