aboutsummaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorPat Ferate <pferate+github@gmail.com>2016-07-26 09:47:22 -0700
committerPat Ferate <pferate+github@gmail.com>2016-08-09 14:15:13 -0700
commitc359c401e74f26c2b73403f7a756ccb93b571f32 (patch)
tree1fb118866cd5e73ad04e7a9d275bd29ffae72c48 /tests/__init__.py
parent0fd8c61d93711e23a31f07c613f042caa0c0b6ee (diff)
downloadoauth2client-c359c401e74f26c2b73403f7a756ccb93b571f32.tar.gz
Migrate test runner to py.test
Migrating test runner from `unittest2`/`nose` to `pytest`. The pytest runner is also compatible with both unittest and nose tests. Some of the benefits of PyTest include: * using plain asserts * function-based fixtures instead of setUp and tearDown * no strange camelCase methods
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index 5e20108..e69de29 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,22 +0,0 @@
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-"""Test package set-up."""
-
-from oauth2client import _helpers
-
-__author__ = 'afshar@google.com (Ali Afshar)'
-
-
-def setup_package():
- """Run on testing package."""
- _helpers.positional_parameters_enforcement = _helpers.POSITIONAL_EXCEPTION