fix some tests

This commit is contained in:
dni ⚡
2024-10-17 10:37:08 +02:00
parent 3cdcb8d815
commit 441348f1ed
6 changed files with 114 additions and 103 deletions
+6
View File
@@ -24,6 +24,12 @@ class DbTestModel2(BaseModel):
child: DbTestModel
class DbTestModel3(BaseModel):
id: int
child: DbTestModel2
active: bool = False
def get_random_string(iterations: int = 10):
return "".join(
random.SystemRandom().choice(string.ascii_uppercase + string.digits)