port changes from commit/8b278eb05d8c72ab11d48bc3bddf65b3b7b08279

This commit is contained in:
Sorin 2014-01-07 11:17:11 +02:00
parent 776e1bc65a
commit 637fef1302

View File

@ -5,11 +5,11 @@ import moto.server as server
''' '''
Test the different server responses Test the different server responses
''' '''
server.configure_urls("dynamodb2")
def test_table_list(): 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 = test_client.get('/')
res.status_code.should.equal(404) res.status_code.should.equal(404)