Skip to content

Commit 317d17e

Browse files
committed
temporarily bump moto dependency to latest git status to unblock quotes in attribute and map field names
1 parent e19db60 commit 317d17e

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

test/functional/hypothesis_strategies.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@
5353

5454
ddb_string = text(
5555
min_size=1,
56-
max_size=MAX_ITEM_BYTES,
57-
alphabet=characters(
58-
blacklist_categories=('Cs',),
59-
blacklist_characters=('"', "'") # Quotes break moto :(
60-
)
56+
max_size=MAX_ITEM_BYTES
6157
)
6258
ddb_string_set = sets(ddb_string, min_size=1)
6359

@@ -100,11 +96,7 @@ def _ddb_fraction_to_decimal(val):
10096
)
10197
ddb_attribute_names = text(
10298
min_size=1,
103-
max_size=255,
104-
alphabet=characters(
105-
blacklist_categories=('Cs',),
106-
blacklist_characters=('"', "'") # Quotes break moto :(
107-
)
99+
max_size=255
108100
)
109101
# TODO: List and Map types have a max depth of 32
110102
ddb_map_type = deferred(lambda: dictionaries(

test/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
hypothesis
22
mock
3-
moto
3+
git+https://github.com/spulec/moto.git
44
pytest>=3.3.1
55
pytest-cov
66
pytest-mock

0 commit comments

Comments
 (0)