Skip to content

Commit aac4833

Browse files
committed
check mysql test fix
1 parent d9bd78b commit aac4833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_enum/tests/tests.py

+1
Original file line numberDiff line numberDiff line change
@@ -6210,6 +6210,7 @@ def defaults(self):
62106210
def test_db_defaults(self):
62116211

62126212
obj = DBDefaultTester.objects.create()
6213+
obj.refresh_from_db() # check if this fixes mysql bug
62136214

62146215
for field, value in self.defaults.items():
62156216
obj_field = DBDefaultTester._meta.get_field(field)

0 commit comments

Comments
 (0)