Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
0527e88d46
541 changed files with 75504 additions and 51429 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,19 +1,20 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import sure # noqa
|
||||
|
||||
import moto.server as server
|
||||
from moto import mock_iot
|
||||
|
||||
'''
|
||||
Test the different server responses
|
||||
'''
|
||||
|
||||
@mock_iot
|
||||
def test_iot_list():
|
||||
backend = server.create_backend_app("iot")
|
||||
test_client = backend.test_client()
|
||||
|
||||
# just making sure that server is up
|
||||
res = test_client.get('/things')
|
||||
res.status_code.should.equal(404)
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import sure # noqa
|
||||
|
||||
import moto.server as server
|
||||
from moto import mock_iot
|
||||
|
||||
"""
|
||||
Test the different server responses
|
||||
"""
|
||||
|
||||
|
||||
@mock_iot
|
||||
def test_iot_list():
|
||||
backend = server.create_backend_app("iot")
|
||||
test_client = backend.test_client()
|
||||
|
||||
# just making sure that server is up
|
||||
res = test_client.get("/things")
|
||||
res.status_code.should.equal(404)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue