def test_gen_normalized_accounts_type_error(w3): with pytest.raises(TypeError): gen_normalized_accounts(1234567890)
def test_gen_normalized_accounts_type_error(w3): with pytest.raises(TypeError): gen_normalized_accounts(1234567890)
def test_gen_normalized_accounts(key_object): accounts = gen_normalized_accounts(key_object) assert all( isinstance(account, eth_account.local.LocalAccount) for account in accounts.values())
def test_gen_normalized_accounts(key_object): accounts = gen_normalized_accounts(key_object) assert all(isinstance(account, eth_account.local.LocalAccount) for account in accounts.values())