Fixing comments conventions
This commit is contained in:
parent
7091be8eae
commit
bfc401c520
@ -24,7 +24,7 @@ class DynamoDBStreamsHandler(BaseResponse):
|
||||
shard_id = self._get_param('ShardId')
|
||||
shard_iterator_type = self._get_param('ShardIteratorType')
|
||||
sequence_number = self._get_param('SequenceNumber')
|
||||
#according to documentation sequence_number param should be string
|
||||
# according to documentation sequence_number param should be string
|
||||
if isinstance(sequence_number, str):
|
||||
sequence_number = int(sequence_number)
|
||||
|
||||
|
@ -170,7 +170,7 @@ class TestCore():
|
||||
resp = conn.get_records(ShardIterator=resp['NextShardIterator'])
|
||||
assert len(resp['Records']) == 0
|
||||
|
||||
#check that if we get the shard iterator AT_SEQUENCE_NUMBER will get the MODIFY event
|
||||
# check that if we get the shard iterator AT_SEQUENCE_NUMBER will get the MODIFY event
|
||||
resp = conn.get_shard_iterator(
|
||||
StreamArn=self.stream_arn,
|
||||
ShardId=shard_id,
|
||||
@ -183,7 +183,7 @@ class TestCore():
|
||||
assert resp['Records'][0]['eventName'] == 'MODIFY'
|
||||
assert resp['Records'][1]['eventName'] == 'DELETE'
|
||||
|
||||
#check that if we get the shard iterator AFTER_SEQUENCE_NUMBER will get the DELETE event
|
||||
# check that if we get the shard iterator AFTER_SEQUENCE_NUMBER will get the DELETE event
|
||||
resp = conn.get_shard_iterator(
|
||||
StreamArn=self.stream_arn,
|
||||
ShardId=shard_id,
|
||||
|
Loading…
Reference in New Issue
Block a user