From 637fef13025131c1a7cc0c85574263a5344fb786 Mon Sep 17 00:00:00 2001 From: Sorin Date: Tue, 7 Jan 2014 11:17:11 +0200 Subject: [PATCH] port changes from commit/8b278eb05d8c72ab11d48bc3bddf65b3b7b08279 --- tests/test_dynamodb2/test_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)