move seeds dir

This commit is contained in:
2025-04-03 21:08:59 -03:00
parent 34085af4a8
commit 1358088a48
41 changed files with 1950 additions and 108 deletions

View File

@@ -32,6 +32,24 @@ def test_serialize():
'ip': {'S': '127.0.0.1'},
}
assert serialize(
{'ids': ('1', '2', '3')},
) == {
'ids': {
'L': [{'S': '1'}, {'S': '2'}, {'S': '3'}],
}
}
assert serialize(
{'ids': ['1', '2', '3']},
) == {
'ids': {
'L': [{'S': '1'}, {'S': '2'}, {'S': '3'}],
}
}
assert serialize({'ids': {'1'}}) == {'ids': {'SS': ['1']}}
def test_composekey():
key = ComposeKey(('122', 'abc'), prefix='schedules', delimiter=':')