| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,17 +1,17 @@ | |||
| 1 | 1 | import inspect | |
| 2 | 2 | ||
| 3 | - from actor import Actor | ||
| 4 | - from blob import Blob | ||
| 5 | - from commit import Commit | ||
| 6 | - from diff import Diff | ||
| 7 | - from errors import InvalidGitRepositoryError, NoSuchPathError | ||
| 8 | - from git import Git | ||
| 9 | - from head import Head | ||
| 10 | - from repo import Repo | ||
| 11 | - from stats import Stats | ||
| 12 | - from tag import Tag | ||
| 13 | - from tree import Tree | ||
| 14 | - from utils import shell_escape, dashify, touch | ||
| 3 | + from git_python.actor import Actor | ||
| 4 | + from git_python.blob import Blob | ||
| 5 | + from git_python.commit import Commit | ||
| 6 | + from git_python.diff import Diff | ||
| 7 | + from git_python.errors import InvalidGitRepositoryError, NoSuchPathError | ||
| 8 | + from git_python.git import Git | ||
| 9 | + from git_python.head import Head | ||
| 10 | + from git_python.repo import Repo | ||
| 11 | + from git_python.stats import Stats | ||
| 12 | + from git_python.tag import Tag | ||
| 13 | + from git_python.tree import Tree | ||
| 14 | + from git_python.utils import shell_escape, dashify, touch | ||
| 15 | 15 | ||
| 16 | 16 | __all__ = [ name for name, obj in locals().items() | |
| 17 | 17 | if not (name.startswith('_') or inspect.ismodule(obj)) ] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,6 @@ | |||
| 1 | 1 | import os | |
| 2 | - from test.asserts import * | ||
| 2 | + from test.testlib import * | ||
| 3 | 3 | from git_python import * | |
| 4 | - from test.helper import * | ||
| 5 | 4 | ||
| 6 | 5 | class TestActor(object): | |
| 7 | 6 | def test_from_string_should_separate_name_and_email(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,6 @@ | |||
| 1 | 1 | import time | |
| 2 | - from mock import * | ||
| 3 | - from test.asserts import * | ||
| 2 | + from test.testlib import * | ||
| 4 | 3 | from git_python import * | |
| 5 | - from test.helper import * | ||
| 6 | 4 | ||
| 7 | 5 | class TestBlob(object): | |
| 8 | 6 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,5 @@ | |||
| 1 | - from mock import * | ||
| 2 | - from test.asserts import * | ||
| 1 | + from test.testlib import * | ||
| 3 | 2 | from git_python import * | |
| 4 | - from test.helper import * | ||
| 5 | 3 | ||
| 6 | 4 | class TestCommit(object): | |
| 7 | 5 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,5 @@ | |||
| 1 | - from test.asserts import * | ||
| 1 | + from test.testlib import * | ||
| 2 | 2 | from git_python import * | |
| 3 | - from test.helper import * | ||
| 4 | 3 | ||
| 5 | 4 | class TestDiff(object): | |
| 6 | 5 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,6 @@ | |||
| 1 | 1 | import os | |
| 2 | - from mock import * | ||
| 3 | - from test.asserts import * | ||
| 2 | + from test.testlib import * | ||
| 4 | 3 | from git_python import * | |
| 5 | - from test.helper import * | ||
| 6 | 4 | ||
| 7 | 5 | class TestGit(object): | |
| 8 | 6 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,5 @@ | |||
| 1 | - from mock import * | ||
| 2 | - from test.asserts import * | ||
| 1 | + from test.testlib import * | ||
| 3 | 2 | from git_python import * | |
| 4 | - from test.helper import * | ||
| 5 | 3 | ||
| 6 | 4 | class TestHead(object): | |
| 7 | 5 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,7 @@ | |||
| 1 | 1 | import os | |
| 2 | 2 | import time | |
| 3 | - from mock import * | ||
| 4 | - from test.asserts import * | ||
| 3 | + from test.testlib import * | ||
| 5 | 4 | from git_python import * | |
| 6 | - from test.helper import * | ||
| 7 | 5 | ||
| 8 | 6 | class TestRepo(object): | |
| 9 | 7 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,5 @@ | |||
| 1 | - from test.asserts import * | ||
| 1 | + from test.testlib import * | ||
| 2 | 2 | from git_python import * | |
| 3 | - from test.helper import * | ||
| 4 | 3 | ||
| 5 | 4 | class TestStats(object): | |
| 6 | 5 | def setup(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | from mock import * | |
| 2 | - from test.asserts import * | ||
| 3 | - from git_python import * | ||
| 2 | + from test.testlib import * | ||
| 4 | 3 | from test.helper import * | |
| 4 | + from git_python import * | ||
| 5 | 5 | ||
| 6 | 6 | class TestTag(object): | |
| 7 | 7 | def setup(self): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments