summaryrefslogtreecommitdiff
path: root/indra/viewer_components/manager/tests/with_setup_args.py
diff options
context:
space:
mode:
authorGlenn Glazer <coyot@lindenlab.com>2016-07-28 11:38:13 -0700
committerGlenn Glazer <coyot@lindenlab.com>2016-07-28 11:38:13 -0700
commit398fabf10c47c984c179e599af14fd27be4816cf (patch)
tree9c2ee3bc2534c79118c5cdc2e8bf045cfd16e3bc /indra/viewer_components/manager/tests/with_setup_args.py
parent7f78051620743a8fb6c3797255f8f12444c3eb5b (diff)
SL-321: fix commithook issues in test files
Diffstat (limited to 'indra/viewer_components/manager/tests/with_setup_args.py')
-rw-r--r--indra/viewer_components/manager/tests/with_setup_args.py42
1 files changed, 22 insertions, 20 deletions
diff --git a/indra/viewer_components/manager/tests/with_setup_args.py b/indra/viewer_components/manager/tests/with_setup_args.py
index 38350ab8c4..94d33aa5fe 100644
--- a/indra/viewer_components/manager/tests/with_setup_args.py
+++ b/indra/viewer_components/manager/tests/with_setup_args.py
@@ -1,29 +1,31 @@
#!/usr/bin/env python
-# $LicenseInfo:firstyear=2016&license=internal$
-#
-# Copyright (c) 2016, Linden Research, Inc.
-#
-# The following source code is PROPRIETARY AND CONFIDENTIAL. Use of
-# this source code is governed by the Linden Lab Source Code Disclosure
-# Agreement ("Agreement") previously entered between you and Linden
-# Lab. By accessing, using, copying, modifying or distributing this
-# software, you acknowledge that you have been informed of your
-# obligations under the Agreement and agree to abide by those obligations.
-#
-# ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
-# WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
-# COMPLETENESS OR PERFORMANCE.
-# $/LicenseInfo$
-#
-# Taken from: https://gist.github.com/garyvdm/392ae20c673c7ee58d76
-
"""
@file with_setup_args.py
@author garyvdm
@date 2016-06-02
-"""
+$LicenseInfo:firstyear=2016&license=viewerlgpl$
+Second Life Viewer Source Code
+Copyright (C) 2016, Linden Research, Inc.
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation;
+version 2.1 of the License only.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
+$/LicenseInfo$
+"""
def with_setup_args(setup, teardown=None):
"""Decorator to add setup and/or teardown methods to a test function::
@@ -63,4 +65,4 @@ def with_setup_args(setup, teardown=None):
if hasattr(func, 'teardown'):
test_wrapped.teardown = func.teardown()
return test_wrapped
- return decorate \ No newline at end of file
+ return decorate