Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Jan 2, 2024
1 parent 13b987c commit a6bda89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os, sys, time, unittest
from datetime import datetime, timedelta
from dotenv import load_dotenv
from github import Github
from github import Auth, Github
from tmdbapis.api3 import API3
from tmdbapis.exceptions import NotFound, Invalid, Authentication
from tmdbapis.objs.reload import Movie, Person, TVShow
Expand Down Expand Up @@ -108,7 +108,7 @@ def test_aa_session(self):
file1.write(v4_url)
time.sleep(120)
else:
git = Github(gh_token)
git = Github(auth=Auth.Token(gh_token))
repo = git.get_user("meisnate12").get_repo("TMDbAPIs")
issue_id = repo.create_issue(f"Run: {datetime.now().strftime('%Y-%m-%d %H:%M')} {py_version}", body=v4_url,
assignee="meisnate12", labels=["approval-needed"]).number
Expand Down

0 comments on commit a6bda89

Please sign in to comment.