# Context: USER: somehow we must change the working directory of the run statement
14 lines
368 B
Python
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()
|