# Path: f8a_worker/workers/git_operations.py
# F8_API_BACKBONE_HOST = os.getenv('F8_API_BACKBONE_HOST', 'http://f8a-server-backbone:5000')
# GEMINI_SERVER_URL = os.getenv('F8A_GEMINI_SERVER_SERVICE_HOST', 'http://f8a-gemini-server:5000')
# AUTH_KEY = os.getenv('OS_AUTH_KEY', '')
# class GitOperationTask(BaseTask):
#     def generate_files_for_maven(path, manifests):
#     def generate_files_for_node(path, manifests):
#     def create_repo_and_generate_files(self,
#                                        giturl,
#                                        ecosystem,
#                                        gh_token):
#     def gemini_call_for_cve_scan(self, scan_repo_url, deps, auth_key):
#     def backbone_for_stack_analysis(self, deps, request_id, is_modified_flag, check_license):
#     def execute(self, arguments):


from f8a_worker.workers import git_operations as go
            "from": "normalize-registry-metadata@^1.1.2",
            "resolved": "https://registry.npmjs.org/normalize-registry-metadata-1.1.2.tgz",
            "dependencies": {
                "semver": {
                    "version": "5.5.1",
                    "from": "semver@5.5.1",
                    "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz"
                }
            }
        },
        "revalidator": {
            "version": "0.3.1",
            "from": "revalidator@^0.3.1",
            "resolved": "https://registry.npmjs.org/revalidator/-/revalidator-0.3.1.tgz"
        },
        "semver": {
            "version": "5.5.1",
            "from": "semver@5.5.1",
            "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz"
        }
    }
}


def test_create_repo_and_generate_files():
    """Test create_repo_and_generate_files function."""
    giturl = "https://github.com/heroku/node-js-sample"
    access = {
        "access_token": "blahblah"
    }

# Path: f8a_worker/workers/git_operations.py
# F8_API_BACKBONE_HOST = os.getenv('F8_API_BACKBONE_HOST', 'http://f8a-server-backbone:5000')
# GEMINI_SERVER_URL = os.getenv('F8A_GEMINI_SERVER_SERVICE_HOST', 'http://f8a-gemini-server:5000')
# AUTH_KEY = os.getenv('OS_AUTH_KEY', '')
# class GitOperationTask(BaseTask):
#     def generate_files_for_maven(path, manifests):
#     def generate_files_for_node(path, manifests):
#     def create_repo_and_generate_files(self,
#                                        giturl,
#                                        ecosystem,
#                                        gh_token):
#     def gemini_call_for_cve_scan(self, scan_repo_url, deps, auth_key):
#     def backbone_for_stack_analysis(self, deps, request_id, is_modified_flag, check_license):
#     def execute(self, arguments):


# Path: tests/workers/test_git_operations.py
from f8a_worker.workers import git_operations as go

            "from": "normalize-registry-metadata@^1.1.2",
            "resolved": "https://registry.npmjs.org/normalize-registry-metadata-1.1.2.tgz",
            "dependencies": {
                "semver": {
                    "version": "5.5.1",
                    "from": "semver@5.5.1",
                    "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz"
                }
            }
        },
        "revalidator": {
            "version": "0.3.1",
            "from": "revalidator@^0.3.1",
            "resolved": "https://registry.npmjs.org/revalidator/-/revalidator-0.3.1.tgz"
        },
        "semver": {
            "version": "5.5.1",
            "from": "semver@5.5.1",
            "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz"
        }
    }
}


def test_create_repo_and_generate_files():
    """Test create_repo_and_generate_files function."""
    giturl = "https://github.com/heroku/node-js-sample"
    access = {
        "access_token": "blahblah"
    }

    instance = go.GitOperationTask.create_test_instance()