Skip to content

Commit 5b7b171

Browse files
committed
Removing test flag
1 parent 1e28cb6 commit 5b7b171

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arcsecond/api/endpoints/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, state=None, prefix=''):
3030
self.organisation = state.organisation or ''
3131

3232
def _get_base_url(self):
33-
return ARCSECOND_API_URL_DEV if (self.state.debug or self.state.test) else ARCSECOND_API_URL_PROD
33+
return ARCSECOND_API_URL_DEV if self.state.debug else ARCSECOND_API_URL_PROD
3434

3535
def _root_url(self):
3636
prefix = self.prefix
@@ -44,7 +44,7 @@ def _build_url(self, *args):
4444

4545
def _root_open_url(self):
4646
if hasattr(self.state, 'open'):
47-
return ARCSECOND_WWW_URL_DEV if (self.state.debug or self.state.test) is True else ARCSECOND_WWW_URL_PROD
47+
return ARCSECOND_WWW_URL_DEV if self.state.debug is True else ARCSECOND_WWW_URL_PROD
4848

4949
def _list_url(self, name=''):
5050
raise Exception('You must override this method.')

0 commit comments

Comments
 (0)