Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Integration test for Github Wrapper."""
import pytest

from langchain.utilities.github import GitHubAPIWrapper
from langchain.utilities.github import GitHubAPIWrapper, get_open_issues

# Make sure you have set the following env variables:
# GITHUB_REPOSITORY
Expand All @@ -17,5 +17,5 @@ def api_client() -> GitHubAPIWrapper:

def test_get_open_issues(api_client: GitHubAPIWrapper) -> None:
"""Basic test to fetch issues"""
issues = api_client.get_issues()
issues = api_client.get_open_issues()
assert len(issues) != 0