From 87deaefd86e14518635cf69d8318a38dacf656ab Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 26 Jul 2019 21:14:55 -0400 Subject: [PATCH] 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 Reviewed-by: David Pursehouse --- tests/test_git_command.py | 4 ++++ tests/test_git_config.py | 4 ++++ tests/test_project.py | 4 ++++ tests/test_wrapper.py | 4 ++++ 4 files changed, 16 insertions(+) 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 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Unittests for the git_command.py module.""" + +from __future__ import print_function + import unittest 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 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Unittests for the git_config.py module.""" + +from __future__ import print_function + import os import unittest 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 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Unittests for the project.py module.""" + +from __future__ import print_function + import unittest 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 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Unittests for the wrapper.py module.""" + +from __future__ import print_function + import os import unittest