remove reference to fundz in config and api mocks
This commit is contained in:
parent
65239b7882
commit
ba4ea97d4b
@ -3,7 +3,6 @@ PORT=8000
|
||||
ENVIRONMENT = dev
|
||||
DEBUG = true
|
||||
AUTHNID_BASE_URL= https://localhost:8001
|
||||
FUNDZ_BASE_URL= http://localhost:8004
|
||||
COOKIE_SECRET = some-secret-please-replace
|
||||
SECRET = change_me_into_something_secret
|
||||
CAC_URL = https://localhost:8001
|
||||
|
@ -3,7 +3,7 @@ from sqlalchemy.orm import sessionmaker, scoped_session
|
||||
|
||||
from atst.app import make_app, make_deps, make_config
|
||||
from atst.database import make_db
|
||||
from tests.mocks import MockApiClient, MockFundzClient
|
||||
from tests.mocks import MockApiClient
|
||||
from atst.sessions import DictSessions
|
||||
|
||||
|
||||
|
@ -61,12 +61,3 @@ class MockApiClient(ApiClient):
|
||||
|
||||
|
||||
MOCK_VALID_PE_ID = "8675309U"
|
||||
|
||||
class MockFundzClient(MockApiClient):
|
||||
|
||||
@tornado.gen.coroutine
|
||||
def get(self, path, **kwargs):
|
||||
if path.endswith(MOCK_VALID_PE_ID):
|
||||
return self._get_response("GET", path, 200)
|
||||
else:
|
||||
return self._get_response("GET", path, 404)
|
||||
|
Loading…
x
Reference in New Issue
Block a user