Files
TashaSkyUp-EternalKernelPyt…/tests/test_git.py
T
Tasha Upchurch d406b61db6 aider: Changed the working directory of the run statement to "E:/git/ComfyUI/".
# Context:
USER: somehow we must change the working directory of the run statement
2023-07-07 02:57:43 -04:00

14 lines
368 B
Python

import os
import unittest
from custom_nodes.git import CreateRepoNode
class TestCreateRepoNode(unittest.TestCase):
def test_create_repo(self):
os.chdir("E:/git/ComfyUI/")
node = CreateRepoNode()
node.create_repo(subdirectory="my_repo")
# Add assertions or additional test logic here
if __name__ == "__main__":
unittest.main()