Migrated git unit tests from tests/test_git.py -> tests/unit/test_git.py · mgelbart/github3.py@93ba412 · GitHub
Skip to content

Commit 93ba412

Browse files
Migrated git unit tests from tests/test_git.py -> tests/unit/test_git.py
Created additional octocat examples
1 parent 9fc6672 commit 93ba412

3 files changed

Lines changed: 149 additions & 0 deletions

File tree

tests/unit/commit_example

Lines changed: 86 additions & 0 deletions

tests/unit/reference_example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"ref": "refs/heads/featureA",
3+
"url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA",
4+
"object": {
5+
"type": "commit",
6+
"sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
7+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd"
8+
}
9+
}

tests/unit/test_git.py

Lines changed: 54 additions & 0 deletions

0 commit comments

Comments
 (0)