2021-10-18 19:44:29 +00:00
|
|
|
import sure # noqa # pylint: disable=unused-import
|
2020-10-06 07:54:49 +02:00
|
|
|
import pytest
|
2013-02-19 20:39:04 -05:00
|
|
|
|
2022-01-18 14:18:57 -01:00
|
|
|
from moto import mock_dynamodb
|
2013-03-10 15:46:27 -04:00
|
|
|
|
2013-02-19 08:26:05 -05:00
|
|
|
|
2021-11-04 21:39:53 -01:00
|
|
|
def test_deprecation_warning():
|
|
|
|
with pytest.warns(None) as record:
|
|
|
|
mock_dynamodb()
|
|
|
|
str(record[0].message).should.contain(
|
|
|
|
"Module mock_dynamodb has been deprecated, and will be repurposed in a later release"
|
|
|
|
)
|