diff --git a/tests/test_dynamodb2/test_server.py b/tests/test_dynamodb2/test_server.py index 52e2bc928..49f2e6819 100644 --- a/tests/test_dynamodb2/test_server.py +++ b/tests/test_dynamodb2/test_server.py @@ -5,11 +5,11 @@ import moto.server as server ''' Test the different server responses ''' -server.configure_urls("dynamodb2") def test_table_list(): - test_client = server.app.test_client() + backend = server.create_backend_app("dynamodb2") + test_client = backend.test_client() res = test_client.get('/') res.status_code.should.equal(404)