move seeds dir
This commit is contained in:
@@ -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=':')
|
||||
|
||||
Reference in New Issue
Block a user