diff options
author | Mike Frysinger <vapier@google.com> | 2019-07-26 21:14:55 -0400 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2019-08-01 03:03:48 +0000 |
commit | 87deaefd86e14518635cf69d8318a38dacf656ab (patch) | |
tree | fb18326d8d0b58a255e5a2a7a9e1774ef47415ef | |
parent | 5fbd1c6053471367c978d484764f555302215834 (diff) | |
download | git-repo-87deaefd86e14518635cf69d8318a38dacf656ab.tar.gz |
tests: add docstrings & print_function (for Python 3)
Bug: https://crbug.com/gerrit/10418
Change-Id: Id98183597a9b0201ca98ec0bf5033a5f5ac6bda2
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/232892
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
-rw-r--r-- | tests/test_git_command.py | 4 | ||||
-rw-r--r-- | tests/test_git_config.py | 4 | ||||
-rw-r--r-- | tests/test_project.py | 4 | ||||
-rw-r--r-- | tests/test_wrapper.py | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_git_command.py b/tests/test_git_command.py index 2ed84969..928eb402 100644 --- a/tests/test_git_command.py +++ b/tests/test_git_command.py | |||
@@ -14,6 +14,10 @@ | |||
14 | # See the License for the specific language governing permissions and | 14 | # See the License for the specific language governing permissions and |
15 | # limitations under the License. | 15 | # limitations under the License. |
16 | 16 | ||
17 | """Unittests for the git_command.py module.""" | ||
18 | |||
19 | from __future__ import print_function | ||
20 | |||
17 | import unittest | 21 | import unittest |
18 | 22 | ||
19 | import git_command | 23 | import git_command |
diff --git a/tests/test_git_config.py b/tests/test_git_config.py index ca818f48..b735f27f 100644 --- a/tests/test_git_config.py +++ b/tests/test_git_config.py | |||
@@ -14,6 +14,10 @@ | |||
14 | # See the License for the specific language governing permissions and | 14 | # See the License for the specific language governing permissions and |
15 | # limitations under the License. | 15 | # limitations under the License. |
16 | 16 | ||
17 | """Unittests for the git_config.py module.""" | ||
18 | |||
19 | from __future__ import print_function | ||
20 | |||
17 | import os | 21 | import os |
18 | import unittest | 22 | import unittest |
19 | 23 | ||
diff --git a/tests/test_project.py b/tests/test_project.py index 1d9cde45..9b289e11 100644 --- a/tests/test_project.py +++ b/tests/test_project.py | |||
@@ -14,6 +14,10 @@ | |||
14 | # See the License for the specific language governing permissions and | 14 | # See the License for the specific language governing permissions and |
15 | # limitations under the License. | 15 | # limitations under the License. |
16 | 16 | ||
17 | """Unittests for the project.py module.""" | ||
18 | |||
19 | from __future__ import print_function | ||
20 | |||
17 | import unittest | 21 | import unittest |
18 | 22 | ||
19 | import project | 23 | import project |
diff --git a/tests/test_wrapper.py b/tests/test_wrapper.py index d20641b9..8ef8d48d 100644 --- a/tests/test_wrapper.py +++ b/tests/test_wrapper.py | |||
@@ -14,6 +14,10 @@ | |||
14 | # See the License for the specific language governing permissions and | 14 | # See the License for the specific language governing permissions and |
15 | # limitations under the License. | 15 | # limitations under the License. |
16 | 16 | ||
17 | """Unittests for the wrapper.py module.""" | ||
18 | |||
19 | from __future__ import print_function | ||
20 | |||
17 | import os | 21 | import os |
18 | import unittest | 22 | import unittest |
19 | 23 | ||