test_ids: fix shadowed test method

woo, thanks for the catch flake8!
pull/770/head
Ryan Barrett 2023-12-24 10:26:12 -08:00
rodzic 199fb65dd6
commit 94b821bef5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -162,7 +162,7 @@ class IdsTest(TestCase):
id=id, from_proto=from_, to_proto=to))
@patch('ids._FED_SUBDOMAIN_SITES', new={'on-fed.com'})
def test_translate_user_id_web_ap_subdomain_fed(self):
def test_translate_object_id_web_ap_subdomain_fed(self):
for base_url in ['https://web.brid.gy/', 'https://fed.brid.gy/']:
with app.test_request_context('/', base_url=base_url):
got = translate_object_id(id='http://on-fed.com/post', from_proto=Web,