Brian Rower
0097ab4c67
Improve code coverage
2017-09-12 23:41:12 -07:00
Brian Rower
6affc7a4ec
Add basic support for the add operation in an update operation
...
Add basic delete functionality
Improve testing coverage and make behave more like actual dynamo on errors
Lint fix
2017-09-12 21:42:29 -07:00
Chris Keogh
1472d63c87
use assert_raises teat helper pattern
2017-09-13 08:30:15 +12:00
Chris Keogh
6ee204e458
fix server mode test
2017-09-12 14:55:43 +12:00
Chris Keogh
722859748e
Merge branch 'master' of https://github.com/spulec/moto into add-empty-string-validation-exception
2017-09-12 10:52:46 +12:00
Chris Keogh
ed820cc80e
return validation error for empty attribute
2017-09-12 09:28:36 +12:00
Brian Rower
386ac94abe
Allow doing an ADD update of a string set
...
Fix test
2017-09-11 12:07:34 -07:00
Greg Sterin
be07fbda52
Support Expected in dynamoDB updateItem
2017-06-09 17:34:29 -07:00
Steve Pulec
15b811901b
Merge pull request #925 from JackDanger/idempotent-dynamodb2-deletes
...
Idempotent Dynamodb2 deletes
2017-05-10 22:07:12 -04:00
Steve Pulec
0adebeed24
Merge #913 .
2017-05-10 21:58:42 -04:00
Jack Danger Canty
8e3d46fb05
Deleting from an unknown table raises error
...
If the table exists then we deletes are idempotent
2017-05-08 17:25:59 -10:00
Jack Danger Canty
02edc6fa00
Idempotent Dynamodb2 deletes
...
Fixes #873
2017-05-01 12:31:31 -07:00
Ian Auld
cdc007fc63
Added test for query using an attribute that is not a range/hash key
2017-04-21 14:55:25 -07:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Nuno Santos
71c1fbadbe
Add DynamoDB tests for update_item() with UpdateExpression, support spaces in the UpdateExpression. ( #758 )
...
Fixes #745 .
2016-11-11 17:04:14 -05:00
Nuno Santos
bfc664cca8
Add additional put_item test with an attribute_exists
condition.
2016-11-04 13:29:53 +01:00
Nuno Santos
74b56faafd
Attempt to parse simple ConditionExpressions in DynamoDB put_item().
...
Internally these get converted into simpler Expected={} parameters, so
for now only `attribute_exists` and `attribute_not_exists` are supported;
OR is also not suported since `expected` does not support it.
2016-11-04 12:37:10 +01:00
Georges Chaudy
6b74487b31
fix: dynamodb2 conditions
2016-09-23 16:14:17 +01:00
Victor Blaga
cb36a8b10f
Fix dynamodb_v2 update_item tests
...
Update expression has the wrong syntax. Something like :bar denotes a
placeholder which has to be filled by supplying an additional
ExpressionAttributeNames
2016-06-21 17:46:37 +02:00
Steve Pulec
196e5a7d8d
Fix dynamodb2 comparisons. Closes #601 .
2016-05-05 23:39:14 -04:00
Steve Pulec
6803444d61
Fix Dynamodb table key name. Closes #524 .
2016-05-05 22:14:23 -04:00
Ian Auld
cc1dee03f5
Reorganized tests
2016-03-16 21:32:54 -07:00
Ian Auld
56425c9479
Added tests for index comparisons
2016-03-14 09:39:03 -07:00
Brian Cavagnolo
6bab725b36
add dynamodb pagination
2016-03-01 15:00:23 -08:00
Steve Pulec
9596772546
Merge pull request #510 from pcraciunoiu/feature/dynamodb-add-value
...
Add value and UPDATE fixes
2016-01-17 15:40:07 -05:00
Paul Craciunoiu
4e9f4bfbbf
Fix for ReturnValues.
2016-01-15 11:53:45 -07:00
Paul Craciunoiu
bdd4ae824b
Support ADD for numeric values
2016-01-15 11:53:43 -07:00
Paul Craciunoiu
88cd009c4d
Return Item even when item is not found.
2016-01-14 16:20:33 -07:00
Ian Auld
dd6cc305cd
Updated more tests.
2016-01-14 14:51:47 -08:00
Ian Auld
06af5365ed
Updated tests
2016-01-14 14:25:04 -08:00
Ian Auld
582db74dee
Added test for creating a table with a local index.
2016-01-14 11:35:23 -08:00
Steve Pulec
96479bf1dc
Merge pull request #505 from joshink/master
...
Reverse before limit
2016-01-10 00:31:13 -05:00
Joshua Inkenbrandt
72bda6d901
Don't do python 2 things in python 3
2016-01-09 18:29:21 -08:00
Joshua Inkenbrandt
33f31652ea
Reverse before limit
2016-01-09 17:58:06 -08:00
Paul Craciunoiu
7a6e85517a
Quick fix for test in python3.3
2016-01-08 17:46:55 -07:00
Paul Craciunoiu
f1099dd006
Support update_item with map and numeric types.
2016-01-08 17:33:14 -07:00
Paul Craciunoiu
fef748b1c1
Add test.
2016-01-08 17:28:06 -07:00
Steve Pulec
9b0bce93dc
Merge pull request #499 from im-auld/partial-save-support-with-range-key
...
Partial save support with range key
2016-01-08 17:23:04 -05:00
Ian Auld
159e88db53
Added test for supporting partial_save
2015-12-31 10:17:08 -08:00
Paul Craciunoiu
2a367ca4bf
Add boto3 GSI and query tests.
...
* Test query and condition ordering
* Test GSI create/update/delete
* Test throughput
2015-12-14 17:13:35 -07:00
Steve Pulec
8d41d0019b
Add basic support for AttributeUpdates in Dynamo update_item. Closes #449 .
2015-11-07 16:45:24 -05:00
Steve Pulec
e4408152d1
Add KeyConditionExpression to dynamo.
2015-08-01 19:32:33 -04:00
Steve Pulec
c9db7765df
Fix dynamo item not found.
2015-07-13 10:33:36 -04:00
Alan Jaffe
898d200110
Add tests for ConditionalCheckFailedException
2015-07-08 11:55:12 -04:00
Zack Kourouma
f03ded7e90
[dynamodb2] adds lookup method to Table class
...
includes additional test coverage
2015-05-20 11:20:16 -04:00
Steve Pulec
82f19952dd
Add Dynamodb2 global indexes. Closes #329 .
2015-03-14 15:02:43 -04:00
Steve Pulec
e66916d5f1
Start to add basic support for dynamodb2 item updating. Closes #16 .
2014-11-29 22:03:29 -05:00
Steve Pulec
06a635aeaa
Remove dynamodb Py3 boto restrictions since we only test newer boto now.
2014-11-27 08:03:47 -05:00