Commit Graph

17 Commits

Author SHA1 Message Date
Bert Blommers
07913cfef0
Deprecate mock_dynamodb2 (#4919) 2022-03-09 16:57:25 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
David Baumgold
3af87963d1
Py3: use unittest.mock instead of mock (#3481)
* Py3: use unittest.mock instead of mock

* noqa

* oops

* just pull in patch()

* ignore RuntimeError when stopping patch

* ignore RuntimeError from default_session_mock.stop()
2021-04-06 10:22:42 +01:00
Matěj Cepl
77dc60ea97 Port test suite from nose to pytest.
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
Brian Pandola
f584e16ab9
Fix: eventName for a deleted record should be REMOVE instead of DELETE (#3431)
Verified API documentation[1] against the real AWS backend.

[1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_Record.html#DDB-Type-streams_Record-eventName

Fixes #3400
2020-11-02 17:21:09 +00:00
jess
49fd7988ab make black happy 2020-04-06 19:55:54 +10:00
jess
4c2460ddfd fix whitespace changes 2020-04-06 18:45:23 +10:00
jess
b6e73776d5 alter testcase to trigger issue #2868 2020-04-06 18:41:46 +10:00
Steve Pulec
72da9e96c2 Lint. 2019-11-21 17:53:58 -05:00
Steve Pulec
40f241adc2 Fix dynamodb required stream parameter for new boto3. 2019-11-21 17:00:18 -05:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Daniel Guerrero
bfc401c520 Fixing comments conventions 2019-07-29 21:21:02 -05:00
Daniel Guerrero
7091be8eae Adding support for AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER
Adding support on DynamoDB Streams for AT_SEQUENCE_NUMBER
 and AFTER_SEQUENCE_NUMBER ShardIteratorType

Change SequenceNumber type to string instead of int to match documentation
2019-07-29 21:13:58 -05:00
Karl Gutwin
e7b01292e9 Fix test failures in server mode 2018-11-08 13:57:44 -05:00
Karl Gutwin
9d190aa04e Tweak functionality and add tests 2018-11-08 13:22:24 -05:00
Karl Gutwin
0f6086f708 Finalize implementation of DynamoDB Streams 2018-11-08 10:54:54 -05:00
Karl Gutwin
519899f74f Much of the way towards complete DynamoDB Streams implementation 2018-11-07 17:10:00 -05:00