moto/tests/test_dynamodb/test_dynamodb.py

13 lines
338 B
Python
Raw Normal View History

2021-10-18 19:44:29 +00:00
import sure # noqa # pylint: disable=unused-import
import pytest
2013-02-20 01:39:04 +00:00
from moto import mock_dynamodb
2013-03-10 19:46:27 +00: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"
)