diff --git a/git.py b/git.py index f46519f..5ed46dc 100644 --- a/git.py +++ b/git.py @@ -70,3 +70,10 @@ class CreateRepoNode: subdirectory = kwargs.get("subdirectory", None) repo = git.Repo.init(subdirectory) + + +class TestCreateRepoNode: + def test_create_repo(self): + node = CreateRepoNode() + node.create_repo(subdirectory="my_repo") + # Add assertions or additional test logic here diff --git a/test_git.py b/test_git.py new file mode 100644 index 0000000..aa47f7f --- /dev/null +++ b/test_git.py @@ -0,0 +1,11 @@ +import unittest +from git import CreateRepoNode + +class TestCreateRepoNode(unittest.TestCase): + def test_create_repo(self): + node = CreateRepoNode() + node.create_repo(subdirectory="my_repo") + # Add assertions or additional test logic here + +if __name__ == "__main__": + unittest.main()