def test_get_accounts(self): view = AccountConfigView() accounts = view.get_accounts("access-token", "user-id") assert accounts["value"][0]["accountName"] == "sentry" assert accounts["value"][1]["accountName"] == "sentry2"
def test_get_accounts(self): view = AccountConfigView() accounts = view.get_accounts('access-token') assert accounts[0]['AccountName'] == 'sentry' assert accounts[1]['AccountName'] == 'sentry2'
def test_get_accounts(self): view = AccountConfigView() accounts = view.get_accounts('access-token', 'user-id') assert accounts['value'][0]['accountName'] == 'sentry' assert accounts['value'][1]['accountName'] == 'sentry2'
def test_get_accounts(self): view = AccountConfigView() accounts = view.get_accounts('access-token', 'user-id') assert accounts['value'][0]['accountName'] == 'sentry' assert accounts['value'][1]['accountName'] == 'sentry2'
def test_get_accounts(self): view = AccountConfigView() accounts = view.get_accounts('access-token') assert accounts[0]['AccountName'] == 'sentry' assert accounts[1]['AccountName'] == 'sentry2'