Change tests to use default server port of 5000.
This commit is contained in:
parent
689adf7dbc
commit
cda553abfb
9 changed files with 12 additions and 12 deletions
|
|
@ -6,7 +6,7 @@ import requests
|
|||
from moto import mock_ec2, settings
|
||||
|
||||
if settings.TEST_SERVER_MODE:
|
||||
BASE_URL = 'http://localhost:8086'
|
||||
BASE_URL = 'http://localhost:5000'
|
||||
else:
|
||||
BASE_URL = 'http://169.254.169.254'
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import requests
|
|||
import boto3
|
||||
from moto import mock_sqs, settings
|
||||
|
||||
base_url = "http://localhost:8086" if settings.TEST_SERVER_MODE else "http://motoapi.amazonaws.com"
|
||||
base_url = "http://localhost:5000" if settings.TEST_SERVER_MODE else "http://motoapi.amazonaws.com"
|
||||
|
||||
|
||||
@mock_sqs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue