Logo
Explore Help
Register Sign In
Yasuke/moto
1
0
Fork 0
You've already forked moto
Code Issues Pull Requests Packages Projects Releases Wiki Activity
moto/tests/test_dynamodb2/conftest.py

18 lines
438 B
Python
Raw Normal View History

Add support for empty strings in non-key dynamo attributes (#3467) * Add support for empty strings in non-key attributes https://github.com/spulec/moto/issues/3339 * Nose, not pytest * Revert "Nose, not pytest" This reverts commit 5a3cf6c887dd9fafa49096c82cfa3a3b7f91d224. * PUT is default action
2020-11-17 01:12:39 -08:00
import pytest
from moto.dynamodb2.models import Table
@pytest.fixture
def table():
return Table(
"Forums",
schema=[
{"KeyType": "HASH", "AttributeName": "forum_name"},
{"KeyType": "RANGE", "AttributeName": "subject"},
],
DynamoDB - error when persisting item with wrong type (#4557)
2021-11-10 20:42:33 -01:00
attr=[
{"AttributeType": "S", "AttributeName": "forum_name"},
{"AttributeType": "S", "AttributeName": "subject"},
],
Add support for empty strings in non-key dynamo attributes (#3467) * Add support for empty strings in non-key attributes https://github.com/spulec/moto/issues/3339 * Nose, not pytest * Revert "Nose, not pytest" This reverts commit 5a3cf6c887dd9fafa49096c82cfa3a3b7f91d224. * PUT is default action
2020-11-17 01:12:39 -08:00
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 935ms Template: 15ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API