aboutsummaryrefslogblamecommitdiffstats
path: root/tests/test_GitUtils.py
blob: 8d90d0528269dd5725b41f9357eb72b134c04e32 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                       
               









                                           
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# import pytest
from git_deps.gitutils import GitUtils

__author__ = "Adam Spiers"
__copyright__ = "Adam Spiers"
__license__ = "none"


def test_abbreviate_sha1():
    sha1 = GitUtils.abbreviate_sha1("HEAD")
    assert len(sha1) == 7