diff --git a/test_giteaapi.py b/test_giteaapi.py deleted file mode 100644 index e0ed4eb..0000000 --- a/test_giteaapi.py +++ /dev/null @@ -1,12 +0,0 @@ -from gitea import * -URL = "https://git.mamahaha.work" -TOKEN = open("token.log", "r").read().strip() -gitea_connect = Gitea(URL, TOKEN) -print("Gitea Version: " + gitea_connect.get_version()) -print("API-Token belongs to user: " + gitea_connect.get_user().username) - -#repository = "sangge/tpre-python" -#target_branch = "main" -#gitea_repo = gitea_connect.get_repo(str(repository)) -#gitea_branch = gitea_repo.get_branch(target_branch) -#print(gitea_branch) \ No newline at end of file