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>
This commit is contained in:
Mike Frysinger 2019-07-26 21:14:55 -04:00 committed by David Pursehouse
parent 5fbd1c6053
commit 87deaefd86
4 changed files with 16 additions and 0 deletions

View File

@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Unittests for the git_command.py module."""
from __future__ import print_function
import unittest import unittest
import git_command import git_command

View File

@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Unittests for the git_config.py module."""
from __future__ import print_function
import os import os
import unittest import unittest

View File

@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Unittests for the project.py module."""
from __future__ import print_function
import unittest import unittest
import project import project

View File

@ -14,6 +14,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Unittests for the wrapper.py module."""
from __future__ import print_function
import os import os
import unittest import unittest