diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 90c4a35a9b..d7689e70ea 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
blank_issues_enabled: false
contact_links:
- name: Troubleshooting
diff --git a/newrelic/common/_monotonic.c b/newrelic/common/_monotonic.c
index 770a9af1d1..b393c51e1f 100644
--- a/newrelic/common/_monotonic.c
+++ b/newrelic/common/_monotonic.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2010 New Relic, Inc.
+ *
+ * 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.
+ */
+
/*
* This file is a modified back port of the monotonic() function from
* Python 3.3. The original code was released under the Python Software
diff --git a/newrelic/common/agent_http.py b/newrelic/common/agent_http.py
index 5e38607c15..73367d18d8 100644
--- a/newrelic/common/agent_http.py
+++ b/newrelic/common/agent_http.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from __future__ import print_function
import os
diff --git a/newrelic/core/agent_protocol.py b/newrelic/core/agent_protocol.py
index 5244185117..b72aee2cc1 100644
--- a/newrelic/core/agent_protocol.py
+++ b/newrelic/core/agent_protocol.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import logging
import os
diff --git a/newrelic/core/agent_streaming.py b/newrelic/core/agent_streaming.py
index aa6d877628..bf5c483ba2 100644
--- a/newrelic/core/agent_streaming.py
+++ b/newrelic/core/agent_streaming.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import logging
import threading
diff --git a/newrelic/hooks/framework_fastapi.py b/newrelic/hooks/framework_fastapi.py
index 8f8de715be..97b36a815c 100644
--- a/newrelic/hooks/framework_fastapi.py
+++ b/newrelic/hooks/framework_fastapi.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from copy import copy
from newrelic.api.time_trace import current_trace
from newrelic.api.function_trace import FunctionTraceWrapper
diff --git a/newrelic/hooks/framework_starlette.py b/newrelic/hooks/framework_starlette.py
index acbd88a0af..99a03bada1 100644
--- a/newrelic/hooks/framework_starlette.py
+++ b/newrelic/hooks/framework_starlette.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.api.asgi_application import wrap_asgi_application
from newrelic.api.background_task import BackgroundTaskWrapper
from newrelic.api.time_trace import current_trace
diff --git a/tests/adapter_cheroot/conftest.py b/tests/adapter_cheroot/conftest.py
index d39192ac77..3764ce3945 100644
--- a/tests/adapter_cheroot/conftest.py
+++ b/tests/adapter_cheroot/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/adapter_cheroot/test_wsgi.py b/tests/adapter_cheroot/test_wsgi.py
index b52152a241..b59a12c2d0 100644
--- a/tests/adapter_cheroot/test_wsgi.py
+++ b/tests/adapter_cheroot/test_wsgi.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import socket
import cheroot.wsgi
diff --git a/tests/adapter_gevent/_application.py b/tests/adapter_gevent/_application.py
index 168258aa5f..fb5e456451 100644
--- a/tests/adapter_gevent/_application.py
+++ b/tests/adapter_gevent/_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import threading
import time
diff --git a/tests/adapter_gevent/conftest.py b/tests/adapter_gevent/conftest.py
index 645d402cd6..df3fe8c8da 100644
--- a/tests/adapter_gevent/conftest.py
+++ b/tests/adapter_gevent/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import webtest
diff --git a/tests/adapter_gevent/test_patch_thread.py b/tests/adapter_gevent/test_patch_thread.py
index 2d17627eb8..41fdab2cc1 100644
--- a/tests/adapter_gevent/test_patch_thread.py
+++ b/tests/adapter_gevent/test_patch_thread.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import gevent.monkey
diff --git a/tests/adapter_gevent/test_pywsgi.py b/tests/adapter_gevent/test_pywsgi.py
index 8d1bc555b7..92cbe2211f 100644
--- a/tests/adapter_gevent/test_pywsgi.py
+++ b/tests/adapter_gevent/test_pywsgi.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
def test_pywsgi_application_index(target_application):
for i in range(3):
response = target_application.get('/pywsgi')
diff --git a/tests/adapter_gunicorn/app.py b/tests/adapter_gunicorn/app.py
index 065863f9a7..789cbe5500 100644
--- a/tests/adapter_gunicorn/app.py
+++ b/tests/adapter_gunicorn/app.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
def application(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/html')])
return [b'PONG']
diff --git a/tests/adapter_gunicorn/asgi_app.py b/tests/adapter_gunicorn/asgi_app.py
index a5b325a6bf..0a39ea7af5 100644
--- a/tests/adapter_gunicorn/asgi_app.py
+++ b/tests/adapter_gunicorn/asgi_app.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
diff --git a/tests/adapter_gunicorn/async_app.py b/tests/adapter_gunicorn/async_app.py
index 25689eed53..de18fc77b8 100644
--- a/tests/adapter_gunicorn/async_app.py
+++ b/tests/adapter_gunicorn/async_app.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from aiohttp import web
diff --git a/tests/adapter_gunicorn/conftest.py b/tests/adapter_gunicorn/conftest.py
index 75f4d1d315..8632f808c1 100644
--- a/tests/adapter_gunicorn/conftest.py
+++ b/tests/adapter_gunicorn/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (collector_agent_registration_fixture,
diff --git a/tests/adapter_gunicorn/test_aiohttp_app_factory.py b/tests/adapter_gunicorn/test_aiohttp_app_factory.py
index 6399b63e3c..2e07290011 100644
--- a/tests/adapter_gunicorn/test_aiohttp_app_factory.py
+++ b/tests/adapter_gunicorn/test_aiohttp_app_factory.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import pytest
import random
diff --git a/tests/adapter_gunicorn/test_asgi_app.py b/tests/adapter_gunicorn/test_asgi_app.py
index 75e01f6c43..2e34453031 100644
--- a/tests/adapter_gunicorn/test_asgi_app.py
+++ b/tests/adapter_gunicorn/test_asgi_app.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import os
import random
diff --git a/tests/adapter_gunicorn/test_gaiohttp.py b/tests/adapter_gunicorn/test_gaiohttp.py
index 4d60beafea..3a421b0391 100644
--- a/tests/adapter_gunicorn/test_gaiohttp.py
+++ b/tests/adapter_gunicorn/test_gaiohttp.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import random
import pytest
diff --git a/tests/adapter_gunicorn/worker.py b/tests/adapter_gunicorn/worker.py
index bb2de3af71..1d3c16e9ab 100644
--- a/tests/adapter_gunicorn/worker.py
+++ b/tests/adapter_gunicorn/worker.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
from gunicorn.workers.sync import SyncWorker
diff --git a/tests/agent_unittests/test_agent_protocol.py b/tests/agent_unittests/test_agent_protocol.py
index effeeec090..75cec44c4d 100644
--- a/tests/agent_unittests/test_agent_protocol.py
+++ b/tests/agent_unittests/test_agent_protocol.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import inspect
import logging
import os
diff --git a/tests/agent_unittests/test_http_client.py b/tests/agent_unittests/test_http_client.py
index da22587f96..0e20b4c041 100644
--- a/tests/agent_unittests/test_http_client.py
+++ b/tests/agent_unittests/test_http_client.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import base64
import json
import os.path
diff --git a/tests/agent_unittests/test_import_hook.py b/tests/agent_unittests/test_import_hook.py
index 07fb38a853..d060159de4 100644
--- a/tests/agent_unittests/test_import_hook.py
+++ b/tests/agent_unittests/test_import_hook.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import newrelic.api.import_hook as import_hook
diff --git a/tests/application_celery/conftest.py b/tests/application_celery/conftest.py
index 507f32705a..fe4d538fc6 100644
--- a/tests/application_celery/conftest.py
+++ b/tests/application_celery/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/application_celery/tasks.py b/tests/application_celery/tasks.py
index be33890593..476221b558 100644
--- a/tests/application_celery/tasks.py
+++ b/tests/application_celery/tasks.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from celery import Celery
diff --git a/tests/application_celery/test_celery.py b/tests/application_celery/test_celery.py
index 7abaa614db..882d96b41a 100644
--- a/tests/application_celery/test_celery.py
+++ b/tests/application_celery/test_celery.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.api.background_task import background_task
from newrelic.api.transaction import ignore_transaction, end_of_transaction
diff --git a/tests/application_celery/test_celery_max_tasks_per_child.py b/tests/application_celery/test_celery_max_tasks_per_child.py
index ecc2da70e9..bf75ef589d 100644
--- a/tests/application_celery/test_celery_max_tasks_per_child.py
+++ b/tests/application_celery/test_celery_max_tasks_per_child.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from billiard import get_context
diff --git a/tests/application_gearman/conftest.py b/tests/application_gearman/conftest.py
index 80ed9a6654..08fdaf2ab1 100644
--- a/tests/application_gearman/conftest.py
+++ b/tests/application_gearman/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/application_gearman/test_gearman.py b/tests/application_gearman/test_gearman.py
index d44e04898d..fc091af603 100644
--- a/tests/application_gearman/test_gearman.py
+++ b/tests/application_gearman/test_gearman.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from __future__ import print_function
import gearman
diff --git a/tests/component_djangorestframework/conftest.py b/tests/component_djangorestframework/conftest.py
index 404eac1f26..f1893099d3 100644
--- a/tests/component_djangorestframework/conftest.py
+++ b/tests/component_djangorestframework/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/component_djangorestframework/settings.py b/tests/component_djangorestframework/settings.py
index 4f542ed13f..f6d6d55c68 100644
--- a/tests/component_djangorestframework/settings.py
+++ b/tests/component_djangorestframework/settings.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import django
diff --git a/tests/component_djangorestframework/test_application.py b/tests/component_djangorestframework/test_application.py
index 4e328eaab2..8e4b648d96 100644
--- a/tests/component_djangorestframework/test_application.py
+++ b/tests/component_djangorestframework/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import webtest
diff --git a/tests/component_djangorestframework/urls.py b/tests/component_djangorestframework/urls.py
index b3f78ca6ee..9b639743aa 100644
--- a/tests/component_djangorestframework/urls.py
+++ b/tests/component_djangorestframework/urls.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
try:
from django.conf.urls.defaults import url
except ImportError:
diff --git a/tests/component_djangorestframework/views.py b/tests/component_djangorestframework/views.py
index f5b6815b47..58eaff0818 100644
--- a/tests/component_djangorestframework/views.py
+++ b/tests/component_djangorestframework/views.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from django.http import HttpResponse
def index(request):
diff --git a/tests/component_djangorestframework/wsgi.py b/tests/component_djangorestframework/wsgi.py
index 2004766227..f4b5054ca4 100644
--- a/tests/component_djangorestframework/wsgi.py
+++ b/tests/component_djangorestframework/wsgi.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
"""
WSGI config for sample project.
diff --git a/tests/component_flask_rest/_test_application.py b/tests/component_flask_rest/_test_application.py
index 879c1c8498..44003de4cc 100644
--- a/tests/component_flask_rest/_test_application.py
+++ b/tests/component_flask_rest/_test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from flask import Flask
diff --git a/tests/component_flask_rest/conftest.py b/tests/component_flask_rest/conftest.py
index e400547da4..519dfa88db 100644
--- a/tests/component_flask_rest/conftest.py
+++ b/tests/component_flask_rest/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture, # noqa
diff --git a/tests/component_flask_rest/test_application.py b/tests/component_flask_rest/test_application.py
index 9ea5b9ec58..3b430a5e83 100644
--- a/tests/component_flask_rest/test_application.py
+++ b/tests/component_flask_rest/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/component_tastypie/api.py b/tests/component_tastypie/api.py
index cfe9f0b408..4352ec1d59 100644
--- a/tests/component_tastypie/api.py
+++ b/tests/component_tastypie/api.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from django.core.exceptions import ObjectDoesNotExist
from tastypie.resources import Resource
from tastypie.exceptions import NotFound
diff --git a/tests/component_tastypie/conftest.py b/tests/component_tastypie/conftest.py
index c0a44d3c6a..19c64ef927 100644
--- a/tests/component_tastypie/conftest.py
+++ b/tests/component_tastypie/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/component_tastypie/settings.py b/tests/component_tastypie/settings.py
index 57856fbbef..a9f075df23 100644
--- a/tests/component_tastypie/settings.py
+++ b/tests/component_tastypie/settings.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import django
diff --git a/tests/component_tastypie/test_application.py b/tests/component_tastypie/test_application.py
index efe3e556fd..f1ec9f61d9 100644
--- a/tests/component_tastypie/test_application.py
+++ b/tests/component_tastypie/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import six
import webtest
diff --git a/tests/component_tastypie/urls.py b/tests/component_tastypie/urls.py
index 2b5beece33..e316a81e16 100644
--- a/tests/component_tastypie/urls.py
+++ b/tests/component_tastypie/urls.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
try:
from django.conf.urls import url, include
except ImportError:
diff --git a/tests/component_tastypie/views.py b/tests/component_tastypie/views.py
index 60ef6446f5..b0666d7a6e 100644
--- a/tests/component_tastypie/views.py
+++ b/tests/component_tastypie/views.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from django.http import HttpResponse
diff --git a/tests/component_tastypie/wsgi.py b/tests/component_tastypie/wsgi.py
index 02b0b16dd1..dcdd9f01c2 100644
--- a/tests/component_tastypie/wsgi.py
+++ b/tests/component_tastypie/wsgi.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
"""
WSGI config for sample project.
diff --git a/tests/coroutines_asyncio/conftest.py b/tests/coroutines_asyncio/conftest.py
index c8baf37496..e6f1302f3a 100644
--- a/tests/coroutines_asyncio/conftest.py
+++ b/tests/coroutines_asyncio/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (
diff --git a/tests/coroutines_asyncio/test_context_propagation.py b/tests/coroutines_asyncio/test_context_propagation.py
index 7519b382f1..f45cc63dbb 100644
--- a/tests/coroutines_asyncio/test_context_propagation.py
+++ b/tests/coroutines_asyncio/test_context_propagation.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import uvloop
import pytest
from newrelic.api.background_task import background_task, BackgroundTask
diff --git a/tests/cross_agent/conftest.py b/tests/cross_agent/conftest.py
index d810c3d426..a472929187 100644
--- a/tests/cross_agent/conftest.py
+++ b/tests/cross_agent/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/cross_agent/fixtures/rum_footer_insertion_location/close-body-in-comment.html b/tests/cross_agent/fixtures/rum_footer_insertion_location/close-body-in-comment.html
index 3252494c26..e32df24204 100644
--- a/tests/cross_agent/fixtures/rum_footer_insertion_location/close-body-in-comment.html
+++ b/tests/cross_agent/fixtures/rum_footer_insertion_location/close-body-in-comment.html
@@ -1,4 +1,20 @@
+
+
Comment contains a close body tag
diff --git a/tests/cross_agent/fixtures/rum_footer_insertion_location/dynamic-iframe.html b/tests/cross_agent/fixtures/rum_footer_insertion_location/dynamic-iframe.html
index 18b82ff80d..5e1acc86b5 100644
--- a/tests/cross_agent/fixtures/rum_footer_insertion_location/dynamic-iframe.html
+++ b/tests/cross_agent/fixtures/rum_footer_insertion_location/dynamic-iframe.html
@@ -1,4 +1,20 @@
+
+
Dynamic iframe Generation
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/basic.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/basic.html
index 4afa155eed..68c9ecd32d 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/basic.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/basic.html
@@ -1,3 +1,19 @@
+
+
EXPECTED_RUM_LOADER_LOCATION
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/body_with_attributes.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/body_with_attributes.html
index 5442cdbeca..7330fbb814 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/body_with_attributes.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/body_with_attributes.html
@@ -1,3 +1,19 @@
+
+
EXPECTED_RUM_LOADER_LOCATION
This isn't great HTML but it's what we've got.
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag.html
index b050317ba0..e2bbbe0e40 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_after_x_ua_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_after_x_ua_tag.html
index 7cbc188a2f..536599abb8 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_after_x_ua_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_after_x_ua_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_before_x_ua_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_before_x_ua_tag.html
index a8f5fcd23d..19961e86e6 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_before_x_ua_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_before_x_ua_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_with_spaces.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_with_spaces.html
index 64ba08f873..528e5da219 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_with_spaces.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/charset_tag_with_spaces.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/comments1.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/comments1.html
index 3d905da56a..48ddb6d8ce 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/comments1.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/comments1.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/comments2.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/comments2.html
index 33b7e608b4..eedf59e212 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/comments2.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/comments2.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag.html
index 3543dab410..4b693d145a 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_after_x_ua_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_after_x_ua_tag.html
index 1f1f91ee32..b985f720d1 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_after_x_ua_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_after_x_ua_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_before_x_ua_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_before_x_ua_tag.html
index ccbed78e51..2d99a5aef5 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_before_x_ua_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/content_type_charset_tag_before_x_ua_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes1.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes1.html
index 3b9cc3f826..03cdc421ad 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes1.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes1.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes2.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes2.html
index 888393cc47..fb075d8a4a 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes2.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes2.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes_mismatch.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes_mismatch.html
index a2af88c817..4049657e8f 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes_mismatch.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_quotes_mismatch.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes1.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes1.html
index 539b4a79cc..29a30538a6 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes1.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes1.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes_mismatch.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes_mismatch.html
index 1dcc6c8009..efff2767e8 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes_mismatch.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/gt_in_single_quotes_mismatch.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/head_with_attributes.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/head_with_attributes.html
index 07f73ada26..c081771926 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/head_with_attributes.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/head_with_attributes.html
@@ -1,3 +1,19 @@
+
+
EXPECTED_RUM_LOADER_LOCATION
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/incomplete_non_meta_tags.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/incomplete_non_meta_tags.html
index 3003f0582f..37ab234b97 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/incomplete_non_meta_tags.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/incomplete_non_meta_tags.html
@@ -1,3 +1,19 @@
+
+
EXPECTED_RUM_LOADER_LOCATION
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_end_header.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_end_header.html
index 76c5d3ccb9..d8a1698ebf 100755
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_end_header.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_end_header.html
@@ -1,4 +1,20 @@
+
+
EXPECTED_RUM_LOADER_LOCATION
Cribbed from the Java agent
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_header.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_header.html
index ee8e6ce07b..a639bea672 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_header.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_header.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EXPECTED_RUM_LOADER_LOCATION
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_html_and_no_header.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_html_and_no_header.html
index 8e01bd2c80..90f1e5170c 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_html_and_no_header.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_html_and_no_header.html
@@ -1,3 +1,19 @@
+
+
EXPECTED_RUM_LOADER_LOCATION
This isn't great HTML but it's what we've got.
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_start_header.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_start_header.html
index 4525b759a4..aeccfa1afd 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/no_start_header.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/no_start_header.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/script1.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/script1.html
index 20b2f6b66e..5edbe366b1 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/script1.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/script1.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EXPECTED_RUM_LOADER_LOCATION
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/script2.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/script2.html
index 90b01c5e51..929efdb244 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/script2.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/script2.html
@@ -1,4 +1,20 @@
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EXPECTED_RUM_LOADER_LOCATION
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag.html
index 950d9a73ea..31165e477a 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiline.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiline.html
index a801f6ca92..187fc1a86f 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiline.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiline.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiple_tags.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiple_tags.html
index 1440bb5d5f..ab5f4c4900 100755
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiple_tags.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_multiple_tags.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_spaces_around_equals.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_spaces_around_equals.html
index dd006e746b..8e35faa626 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_spaces_around_equals.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_spaces_around_equals.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_others.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_others.html
index 57674c5f8b..83adce4c49 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_others.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_others.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_spaces.html b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_spaces.html
index 215ee13b53..edb738f262 100644
--- a/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_spaces.html
+++ b/tests/cross_agent/fixtures/rum_loader_insertion_location/x_ua_meta_tag_with_spaces.html
@@ -1,3 +1,19 @@
+
+
im a title
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/back_quoted_identifiers.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/back_quoted_identifiers.mysql.sql
index 7f229cef9a..52df0e44e2 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/back_quoted_identifiers.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/back_quoted_identifiers.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT `t001`.`c2` FROM `t001` WHERE `t001`.`c2` = 'value' AND c3="othervalue" LIMIT ?
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/comment_delimiters_in_strings.sql b/tests/cross_agent/fixtures/sql_obfuscation/comment_delimiters_in_strings.sql
index 3ff3d00705..f59fb0693a 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/comment_delimiters_in_strings.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/comment_delimiters_in_strings.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM t WHERE foo="bar/*" AND baz="whatever */qux"
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/double_quoted_identifiers.postgres.sql b/tests/cross_agent/fixtures/sql_obfuscation/double_quoted_identifiers.postgres.sql
index fcf6732450..1d46de8da0 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/double_quoted_identifiers.postgres.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/double_quoted_identifiers.postgres.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT "t001"."c2" FROM "t001" WHERE "t001"."c2" = 'value' AND c3=1234 LIMIT 1
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/end_of_line_comment_in_string.sql b/tests/cross_agent/fixtures/sql_obfuscation/end_of_line_comment_in_string.sql
index d0793490f7..6e4e7a065c 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/end_of_line_comment_in_string.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/end_of_line_comment_in_string.sql
@@ -1,2 +1,16 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM t WHERE foo="bar--" AND
baz="qux--"
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_cstyle.sql b/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_cstyle.sql
index 92699ed59c..ab2cebbcd3 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_cstyle.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_cstyle.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM foo WHERE bar='baz' /* Hide Me */
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_doubledash.sql b/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_doubledash.sql
index 7fe2638191..b090f82939 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_doubledash.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_doubledash.sql
@@ -1,2 +1,16 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM foobar WHERE password='hunter2'
-- No peeking!
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_hash.sql b/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_hash.sql
index a99df024b0..56eaf510c2 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_hash.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/end_of_query_comment_hash.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT foo, bar FROM baz WHERE password='hunter2' # Secret
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql b/tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql
index 5ae1f2cdf6..07fe40344d 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql
@@ -1,3 +1,17 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
# PostgreSQL supports an alternate string quoting mode where backslash escape
# sequences are interpreted.
# See: http://www.postgresql.org/docs/9.3/static/sql-syntax-lexical.html#SQL-SYNTAX-STRINGS-ESCAPE
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_double_quoted_string.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_double_quoted_string.mysql.sql
index 4673acc1f1..8b51013bc1 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_double_quoted_string.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_double_quoted_string.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE foo='bar' AND baz="nothing to see here'
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_single_quoted_string.sql b/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_single_quoted_string.sql
index 96f8339c71..feec0c9073 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_single_quoted_string.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/malformed/unterminated_single_quoted_string.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE foo='bar' AND baz='nothing to see here
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/multiple_literal_types.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/multiple_literal_types.mysql.sql
index 386495ed15..668c81bf42 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/multiple_literal_types.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/multiple_literal_types.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
INSERT INTO `X` values("test",0, 1 , 2, 'test')
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/numbers_in_identifiers.sql b/tests/cross_agent/fixtures/sql_obfuscation/numbers_in_identifiers.sql
index f5fd594cdb..d048666eac 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/numbers_in_identifiers.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/numbers_in_identifiers.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT c11.col1, c22.col2 FROM table c11, table c22 WHERE value='nothing'
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/numeric_literals.sql b/tests/cross_agent/fixtures/sql_obfuscation/numeric_literals.sql
index 1bf1addcab..f0affaf438 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/numeric_literals.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/numeric_literals.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
INSERT INTO X VALUES(1, 23456, 123.456, 99+100)
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/pathological/end_of_line_comments_with_quotes.sql b/tests/cross_agent/fixtures/sql_obfuscation/pathological/end_of_line_comments_with_quotes.sql
index ce38f6aa3f..40b2042447 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/pathological/end_of_line_comments_with_quotes.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/pathological/end_of_line_comments_with_quotes.sql
@@ -1,2 +1,16 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM t WHERE -- '
bar='baz' -- '
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_comments_and_quotes.sql b/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_comments_and_quotes.sql
index 580b0fe50e..4fa116026a 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_comments_and_quotes.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_comments_and_quotes.sql
@@ -1,2 +1,16 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM t WHERE /* ' */
bar='baz' -- '
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_comments_and_newlines.sql b/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_comments_and_newlines.sql
index 8ebe79bdaf..eb965651dd 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_comments_and_newlines.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_comments_and_newlines.sql
@@ -1,3 +1,17 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM t WHERE -- '
/* ' */ c2='xxx' /* ' */
c='x
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_end_of_line_comments.sql b/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_end_of_line_comments.sql
index 26a834dc98..2e31eb2982 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_end_of_line_comments.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/pathological/mixed_quotes_end_of_line_comments.sql
@@ -1,3 +1,17 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM t WHERE -- '
c='x
xx' -- '
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/pathological/quote_delimiters_in_comments.sql b/tests/cross_agent/fixtures/sql_obfuscation/pathological/quote_delimiters_in_comments.sql
index 63bc1c0a1f..7c635646eb 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/pathological/quote_delimiters_in_comments.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/pathological/quote_delimiters_in_comments.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM foo WHERE col='value1' AND /* don't */ col2='value1' /* won't */
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_double_quoted.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_double_quoted.mysql.sql
index 8a4c35a963..1565e993a2 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_double_quoted.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_double_quoted.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE name="foo" AND value="don't"
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_single_quoted.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_single_quoted.sql
index f0bea73ef7..88ce952de6 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_single_quoted.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_single_quoted.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE name='foo' AND value = 'bar'
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_backslash_and_twin_single_quotes.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_backslash_and_twin_single_quotes.sql
index 4e60aa0c28..ea28bd7e61 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_backslash_and_twin_single_quotes.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_backslash_and_twin_single_quotes.sql
@@ -1,3 +1,17 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
# If backslashes are being ignored in single-quoted strings
# (standard_conforming_strings=on in PostgreSQL, or NO_BACKSLASH_ESCAPES is on
# in MySQL), then this is valid SQL.
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_double_quote.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_double_quote.sql
index 5cc32217a4..80b6042b01 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_double_quote.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_double_quote.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE col1='foo"bar' AND col2='what"ever'
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_newline.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_newline.sql
index aa2ac4ec2d..1cde800efb 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_newline.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_newline.sql
@@ -1,2 +1,16 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
select * from accounts where accounts.name != 'dude
newline' order by accounts.name
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_single_quote.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_single_quote.mysql.sql
index c9b6f37551..7133a681cd 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_single_quote.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_embedded_single_quote.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE col1="don't" AND col2="won't"
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_escaped_quotes.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_escaped_quotes.mysql.sql
index b7aac987f9..e49e7a80f1 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_escaped_quotes.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_escaped_quotes.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
INSERT INTO X values('', 'jim''s ssn',0, 1 , 'jim''s son''s son', """jim''s"" hat", "\"jim''s secret\"")
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_backslash.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_backslash.sql
index bf9b7099d6..e33f211a92 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_backslash.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_backslash.sql
@@ -1,3 +1,17 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
# If backslashes are being ignored in single-quoted strings
# (standard_conforming_strings=on in PostgreSQL, or NO_BACKSLASH_ESCAPES is on
# in MySQL), then this is valid SQL.
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash.mysql.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash.mysql.sql
index bf93237165..66b0388225 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash.mysql.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash.mysql.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE foo="this string ends with a backslash\\"
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash_single_quoted.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash_single_quoted.sql
index b840e0a633..71a9d7ebe6 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash_single_quoted.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_backslash_single_quoted.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE foo='this string ends with a backslash\\'
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_quote.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_quote.sql
index 2787a3730d..55c5dd5b79 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_quote.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_trailing_escaped_quote.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
SELECT * FROM table WHERE name='foo\'' AND color='blue'
\ No newline at end of file
diff --git a/tests/cross_agent/fixtures/sql_obfuscation/string_with_twin_single_quotes.sql b/tests/cross_agent/fixtures/sql_obfuscation/string_with_twin_single_quotes.sql
index c5ddd0ad54..db7672537e 100644
--- a/tests/cross_agent/fixtures/sql_obfuscation/string_with_twin_single_quotes.sql
+++ b/tests/cross_agent/fixtures/sql_obfuscation/string_with_twin_single_quotes.sql
@@ -1 +1,15 @@
+-- Copyright 2010 New Relic, Inc.
+--
+-- 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.
+
INSERT INTO X values('', 'a''b c',0, 1 , 'd''e f''s h')
\ No newline at end of file
diff --git a/tests/cross_agent/test_agent_attributes.py b/tests/cross_agent/test_agent_attributes.py
index 8ab0b1fbe7..c254be7728 100644
--- a/tests/cross_agent/test_agent_attributes.py
+++ b/tests/cross_agent/test_agent_attributes.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_aws_utilization_data.py b/tests/cross_agent/test_aws_utilization_data.py
index 1074a37453..b9c0f6aaed 100644
--- a/tests/cross_agent/test_aws_utilization_data.py
+++ b/tests/cross_agent/test_aws_utilization_data.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_azure_utilization_data.py b/tests/cross_agent/test_azure_utilization_data.py
index b83ac49892..897fadec05 100644
--- a/tests/cross_agent/test_azure_utilization_data.py
+++ b/tests/cross_agent/test_azure_utilization_data.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_boot_id_utilization_data.py b/tests/cross_agent/test_boot_id_utilization_data.py
index 82cd7106aa..2eaeae6707 100644
--- a/tests/cross_agent/test_boot_id_utilization_data.py
+++ b/tests/cross_agent/test_boot_id_utilization_data.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_cat_map.py b/tests/cross_agent/test_cat_map.py
index 7116921cc1..e2644b10ae 100644
--- a/tests/cross_agent/test_cat_map.py
+++ b/tests/cross_agent/test_cat_map.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
"""
This is an implementation of the cross agent tests for cat map using a wsgi
application. Another implementation of these tests using a tornado application
diff --git a/tests/cross_agent/test_collector_hostname.py b/tests/cross_agent/test_collector_hostname.py
index e5b99f9a05..d9c65e34bc 100644
--- a/tests/cross_agent/test_collector_hostname.py
+++ b/tests/cross_agent/test_collector_hostname.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import multiprocessing
import os
diff --git a/tests/cross_agent/test_datstore_instance.py b/tests/cross_agent/test_datstore_instance.py
index b791eba2f7..aa095400fa 100644
--- a/tests/cross_agent/test_datstore_instance.py
+++ b/tests/cross_agent/test_datstore_instance.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_distributed_tracing.py b/tests/cross_agent/test_distributed_tracing.py
index 2354c227c9..8dcef661d2 100644
--- a/tests/cross_agent/test_distributed_tracing.py
+++ b/tests/cross_agent/test_distributed_tracing.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_docker.py b/tests/cross_agent/test_docker.py
index e8343b7c05..9bc1a73630 100644
--- a/tests/cross_agent/test_docker.py
+++ b/tests/cross_agent/test_docker.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import mock
import os
diff --git a/tests/cross_agent/test_gcp_utilization_data.py b/tests/cross_agent/test_gcp_utilization_data.py
index c3ba30526e..1d77ed0a26 100644
--- a/tests/cross_agent/test_gcp_utilization_data.py
+++ b/tests/cross_agent/test_gcp_utilization_data.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_labels_and_rollups.py b/tests/cross_agent/test_labels_and_rollups.py
index 4ca90f8fcd..d333ec35ba 100644
--- a/tests/cross_agent/test_labels_and_rollups.py
+++ b/tests/cross_agent/test_labels_and_rollups.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_lambda_event_source.py b/tests/cross_agent/test_lambda_event_source.py
index 5a4000e383..3a90aec58b 100644
--- a/tests/cross_agent/test_lambda_event_source.py
+++ b/tests/cross_agent/test_lambda_event_source.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_pcf_utilization_data.py b/tests/cross_agent/test_pcf_utilization_data.py
index 5cc2fa7dbd..ce86bfb9f3 100644
--- a/tests/cross_agent/test_pcf_utilization_data.py
+++ b/tests/cross_agent/test_pcf_utilization_data.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_rules.py b/tests/cross_agent/test_rules.py
index cbec74ab8d..e37db787cd 100644
--- a/tests/cross_agent/test_rules.py
+++ b/tests/cross_agent/test_rules.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_rum_client_config.py b/tests/cross_agent/test_rum_client_config.py
index 6e612d38df..d60cff7773 100644
--- a/tests/cross_agent/test_rum_client_config.py
+++ b/tests/cross_agent/test_rum_client_config.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_sql_obfuscation.py b/tests/cross_agent/test_sql_obfuscation.py
index 09abb105e5..480b0a4176 100644
--- a/tests/cross_agent/test_sql_obfuscation.py
+++ b/tests/cross_agent/test_sql_obfuscation.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_system_info.py b/tests/cross_agent/test_system_info.py
index 771c11d22b..8123d85001 100644
--- a/tests/cross_agent/test_system_info.py
+++ b/tests/cross_agent/test_system_info.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import pytest
diff --git a/tests/cross_agent/test_transaction_segment_terms.py b/tests/cross_agent/test_transaction_segment_terms.py
index e5e5e3beb0..ae48cc8947 100644
--- a/tests/cross_agent/test_transaction_segment_terms.py
+++ b/tests/cross_agent/test_transaction_segment_terms.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import json
import os
diff --git a/tests/cross_agent/test_utilization_configs.py b/tests/cross_agent/test_utilization_configs.py
index 904174073d..810631ee68 100644
--- a/tests/cross_agent/test_utilization_configs.py
+++ b/tests/cross_agent/test_utilization_configs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/cross_agent/test_w3c_trace_context.py b/tests/cross_agent/test_w3c_trace_context.py
index 81cd7dd41d..d90e1ca5b6 100644
--- a/tests/cross_agent/test_w3c_trace_context.py
+++ b/tests/cross_agent/test_w3c_trace_context.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import os
import pytest
diff --git a/tests/datastore_asyncpg/conftest.py b/tests/datastore_asyncpg/conftest.py
index a3e3c01ab5..0c4d926456 100644
--- a/tests/datastore_asyncpg/conftest.py
+++ b/tests/datastore_asyncpg/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from testing_support.fixtures import (code_coverage_fixture, # noqa
collector_agent_registration_fixture, collector_available_fixture)
diff --git a/tests/datastore_asyncpg/test_multiple_dbs.py b/tests/datastore_asyncpg/test_multiple_dbs.py
index 82a8a7ceee..457f8d4c79 100644
--- a/tests/datastore_asyncpg/test_multiple_dbs.py
+++ b/tests/datastore_asyncpg/test_multiple_dbs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
import asyncpg
import pytest
diff --git a/tests/datastore_asyncpg/test_query.py b/tests/datastore_asyncpg/test_query.py
index 4b99aa1dd4..be68249242 100644
--- a/tests/datastore_asyncpg/test_query.py
+++ b/tests/datastore_asyncpg/test_query.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import random
import pytest
diff --git a/tests/datastore_bmemcached/conftest.py b/tests/datastore_bmemcached/conftest.py
index 563f11541d..562836f6dd 100644
--- a/tests/datastore_bmemcached/conftest.py
+++ b/tests/datastore_bmemcached/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_bmemcached/test_memcache.py b/tests/datastore_bmemcached/test_memcache.py
index 26e143a3f8..1bef31f592 100644
--- a/tests/datastore_bmemcached/test_memcache.py
+++ b/tests/datastore_bmemcached/test_memcache.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
from testing_support.db_settings import memcached_settings
import bmemcached
diff --git a/tests/datastore_elasticsearch/conftest.py b/tests/datastore_elasticsearch/conftest.py
index 710dba77ed..c0859b1a49 100644
--- a/tests/datastore_elasticsearch/conftest.py
+++ b/tests/datastore_elasticsearch/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_elasticsearch/test_connection.py b/tests/datastore_elasticsearch/test_connection.py
index c75b1909d3..37df49b804 100644
--- a/tests/datastore_elasticsearch/test_connection.py
+++ b/tests/datastore_elasticsearch/test_connection.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from elasticsearch.connection.base import Connection
diff --git a/tests/datastore_elasticsearch/test_database_duration.py b/tests/datastore_elasticsearch/test_database_duration.py
index 5f5cbaa298..a76f700b1b 100644
--- a/tests/datastore_elasticsearch/test_database_duration.py
+++ b/tests/datastore_elasticsearch/test_database_duration.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sqlite3
from elasticsearch import Elasticsearch
diff --git a/tests/datastore_elasticsearch/test_elasticsearch.py b/tests/datastore_elasticsearch/test_elasticsearch.py
index 762186b428..5480432161 100644
--- a/tests/datastore_elasticsearch/test_elasticsearch.py
+++ b/tests/datastore_elasticsearch/test_elasticsearch.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from elasticsearch import Elasticsearch
import elasticsearch.client
diff --git a/tests/datastore_elasticsearch/test_instrumented_methods.py b/tests/datastore_elasticsearch/test_instrumented_methods.py
index c0938faba3..28ca8f975d 100644
--- a/tests/datastore_elasticsearch/test_instrumented_methods.py
+++ b/tests/datastore_elasticsearch/test_instrumented_methods.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import elasticsearch
import elasticsearch.client
diff --git a/tests/datastore_elasticsearch/test_mget.py b/tests/datastore_elasticsearch/test_mget.py
index f6fa99d499..417b231d6a 100644
--- a/tests/datastore_elasticsearch/test_mget.py
+++ b/tests/datastore_elasticsearch/test_mget.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from elasticsearch import Elasticsearch
diff --git a/tests/datastore_elasticsearch/test_multiple_dbs.py b/tests/datastore_elasticsearch/test_multiple_dbs.py
index 8204d0d0b6..b4b1559a79 100644
--- a/tests/datastore_elasticsearch/test_multiple_dbs.py
+++ b/tests/datastore_elasticsearch/test_multiple_dbs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from elasticsearch import Elasticsearch
diff --git a/tests/datastore_elasticsearch/test_trace_node.py b/tests/datastore_elasticsearch/test_trace_node.py
index 8f255e55df..65e7733401 100644
--- a/tests/datastore_elasticsearch/test_trace_node.py
+++ b/tests/datastore_elasticsearch/test_trace_node.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from elasticsearch import Elasticsearch
from testing_support.fixtures import (validate_tt_collector_json,
diff --git a/tests/datastore_elasticsearch/test_transport.py b/tests/datastore_elasticsearch/test_transport.py
index 242bfa824f..06b37410c3 100644
--- a/tests/datastore_elasticsearch/test_transport.py
+++ b/tests/datastore_elasticsearch/test_transport.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from elasticsearch.client.utils import _make_path
from elasticsearch.transport import Transport
from elasticsearch.connection.http_requests import RequestsHttpConnection
diff --git a/tests/datastore_memcache/conftest.py b/tests/datastore_memcache/conftest.py
index 6d7dbe1572..98dc153519 100644
--- a/tests/datastore_memcache/conftest.py
+++ b/tests/datastore_memcache/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import random
import string
import pytest
diff --git a/tests/datastore_memcache/test_all_methods_wrapped.py b/tests/datastore_memcache/test_all_methods_wrapped.py
index 0a14bf993e..2bc36c3441 100644
--- a/tests/datastore_memcache/test_all_methods_wrapped.py
+++ b/tests/datastore_memcache/test_all_methods_wrapped.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import memcache
from newrelic.hooks.datastore_memcache import (_memcache_client_methods,
_memcache_multi_methods)
diff --git a/tests/datastore_memcache/test_memcache.py b/tests/datastore_memcache/test_memcache.py
index 14e9258345..d8afab3b12 100644
--- a/tests/datastore_memcache/test_memcache.py
+++ b/tests/datastore_memcache/test_memcache.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import memcache
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/datastore_memcache/test_multiple_dbs.py b/tests/datastore_memcache/test_multiple_dbs.py
index 1872154bf1..b83d7dfcc1 100644
--- a/tests/datastore_memcache/test_multiple_dbs.py
+++ b/tests/datastore_memcache/test_multiple_dbs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import memcache
diff --git a/tests/datastore_memcache/test_span_event.py b/tests/datastore_memcache/test_span_event.py
index 26bfee27ab..a8da4d0e56 100644
--- a/tests/datastore_memcache/test_span_event.py
+++ b/tests/datastore_memcache/test_span_event.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import memcache
diff --git a/tests/datastore_mysql/conftest.py b/tests/datastore_mysql/conftest.py
index 6d371067b8..f1f1a48548 100644
--- a/tests/datastore_mysql/conftest.py
+++ b/tests/datastore_mysql/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import os
diff --git a/tests/datastore_mysql/test_database.py b/tests/datastore_mysql/test_database.py
index 3073bd1015..06bdaba5d0 100644
--- a/tests/datastore_mysql/test_database.py
+++ b/tests/datastore_mysql/test_database.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import mysql.connector
from testing_support.fixtures import validate_transaction_metrics
diff --git a/tests/datastore_mysqldb/conftest.py b/tests/datastore_mysqldb/conftest.py
index 9b24fe36bb..58367b5c52 100644
--- a/tests/datastore_mysqldb/conftest.py
+++ b/tests/datastore_mysqldb/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import os
diff --git a/tests/datastore_mysqldb/test_alias.py b/tests/datastore_mysqldb/test_alias.py
index 640b74e220..1c5c121556 100644
--- a/tests/datastore_mysqldb/test_alias.py
+++ b/tests/datastore_mysqldb/test_alias.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import MySQLdb
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/datastore_mysqldb/test_cursor.py b/tests/datastore_mysqldb/test_cursor.py
index 0311abfa4c..8b08681fed 100644
--- a/tests/datastore_mysqldb/test_cursor.py
+++ b/tests/datastore_mysqldb/test_cursor.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import MySQLdb
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/datastore_mysqldb/test_instance_info.py b/tests/datastore_mysqldb/test_instance_info.py
index e1a7f660c2..2abfeefe40 100644
--- a/tests/datastore_mysqldb/test_instance_info.py
+++ b/tests/datastore_mysqldb/test_instance_info.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.hooks.database_mysqldb import instance_info
diff --git a/tests/datastore_mysqldb/test_multiple_dbs.py b/tests/datastore_mysqldb/test_multiple_dbs.py
index 205f388e01..41e5b32387 100644
--- a/tests/datastore_mysqldb/test_multiple_dbs.py
+++ b/tests/datastore_mysqldb/test_multiple_dbs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import MySQLdb
import pytest
diff --git a/tests/datastore_mysqldb/test_rollback.py b/tests/datastore_mysqldb/test_rollback.py
index 5c592cdf36..6924bba78e 100644
--- a/tests/datastore_mysqldb/test_rollback.py
+++ b/tests/datastore_mysqldb/test_rollback.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import MySQLdb
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/datastore_mysqldb/test_slow_sql.py b/tests/datastore_mysqldb/test_slow_sql.py
index 721b834d08..a4dd4875d5 100644
--- a/tests/datastore_mysqldb/test_slow_sql.py
+++ b/tests/datastore_mysqldb/test_slow_sql.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import MySQLdb
from testing_support.fixtures import override_application_settings
diff --git a/tests/datastore_mysqldb/test_trace_node.py b/tests/datastore_mysqldb/test_trace_node.py
index cd6a420696..29c6390914 100644
--- a/tests/datastore_mysqldb/test_trace_node.py
+++ b/tests/datastore_mysqldb/test_trace_node.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import MySQLdb
from testing_support.fixtures import (validate_tt_collector_json,
diff --git a/tests/datastore_postgresql/conftest.py b/tests/datastore_postgresql/conftest.py
index 566f500862..f378d03374 100644
--- a/tests/datastore_postgresql/conftest.py
+++ b/tests/datastore_postgresql/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_postgresql/test_database.py b/tests/datastore_postgresql/test_database.py
index c471cae664..de53808c62 100644
--- a/tests/datastore_postgresql/test_database.py
+++ b/tests/datastore_postgresql/test_database.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import postgresql.driver.dbapi20
diff --git a/tests/datastore_psycopg2/conftest.py b/tests/datastore_psycopg2/conftest.py
index a4271d6a20..3452238042 100644
--- a/tests/datastore_psycopg2/conftest.py
+++ b/tests/datastore_psycopg2/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_psycopg2/test_as_string.py b/tests/datastore_psycopg2/test_as_string.py
index 168c6e4a68..12c366bc57 100644
--- a/tests/datastore_psycopg2/test_as_string.py
+++ b/tests/datastore_psycopg2/test_as_string.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import psycopg2
try:
diff --git a/tests/datastore_psycopg2/test_async.py b/tests/datastore_psycopg2/test_async.py
index c65342374f..78df2becad 100644
--- a/tests/datastore_psycopg2/test_async.py
+++ b/tests/datastore_psycopg2/test_async.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2
import psycopg2.extras
import pytest
diff --git a/tests/datastore_psycopg2/test_cursor.py b/tests/datastore_psycopg2/test_cursor.py
index 9cbebdd3e6..e7a549c130 100644
--- a/tests/datastore_psycopg2/test_cursor.py
+++ b/tests/datastore_psycopg2/test_cursor.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import psycopg2
import psycopg2.extensions
diff --git a/tests/datastore_psycopg2/test_database_instance_info.py b/tests/datastore_psycopg2/test_database_instance_info.py
index 2ac425de50..fa1d823894 100644
--- a/tests/datastore_psycopg2/test_database_instance_info.py
+++ b/tests/datastore_psycopg2/test_database_instance_info.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.hooks.database_psycopg2 import (instance_info, _add_defaults,
_parse_connect_params)
diff --git a/tests/datastore_psycopg2/test_explain_plans.py b/tests/datastore_psycopg2/test_explain_plans.py
index 7f30970420..b25cfab0f4 100644
--- a/tests/datastore_psycopg2/test_explain_plans.py
+++ b/tests/datastore_psycopg2/test_explain_plans.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2
import psycopg2.extras
import psycopg2.extensions
diff --git a/tests/datastore_psycopg2/test_forward_compat.py b/tests/datastore_psycopg2/test_forward_compat.py
index fb0b7dcea6..d150943288 100644
--- a/tests/datastore_psycopg2/test_forward_compat.py
+++ b/tests/datastore_psycopg2/test_forward_compat.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import psycopg2
from psycopg2 import extensions as ext
diff --git a/tests/datastore_psycopg2/test_multiple_dbs.py b/tests/datastore_psycopg2/test_multiple_dbs.py
index 30acb8a126..bf7629ebf0 100644
--- a/tests/datastore_psycopg2/test_multiple_dbs.py
+++ b/tests/datastore_psycopg2/test_multiple_dbs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2
import pytest
diff --git a/tests/datastore_psycopg2/test_obfuscation.py b/tests/datastore_psycopg2/test_obfuscation.py
index b1dba4aabc..90f15d375b 100644
--- a/tests/datastore_psycopg2/test_obfuscation.py
+++ b/tests/datastore_psycopg2/test_obfuscation.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.api.background_task import background_task
diff --git a/tests/datastore_psycopg2/test_register.py b/tests/datastore_psycopg2/test_register.py
index 9e2bcc5ebe..03b553749d 100644
--- a/tests/datastore_psycopg2/test_register.py
+++ b/tests/datastore_psycopg2/test_register.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import psycopg2
import psycopg2.extras
diff --git a/tests/datastore_psycopg2/test_rollback.py b/tests/datastore_psycopg2/test_rollback.py
index 974b5e6b6b..f0ef8149fc 100644
--- a/tests/datastore_psycopg2/test_rollback.py
+++ b/tests/datastore_psycopg2/test_rollback.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2
import pytest
diff --git a/tests/datastore_psycopg2/test_slow_sql.py b/tests/datastore_psycopg2/test_slow_sql.py
index 5c8a12cce8..aea45dd183 100644
--- a/tests/datastore_psycopg2/test_slow_sql.py
+++ b/tests/datastore_psycopg2/test_slow_sql.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2
import pytest
diff --git a/tests/datastore_psycopg2/test_span_event.py b/tests/datastore_psycopg2/test_span_event.py
index aa5b148ede..0834061c70 100644
--- a/tests/datastore_psycopg2/test_span_event.py
+++ b/tests/datastore_psycopg2/test_span_event.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import psycopg2
diff --git a/tests/datastore_psycopg2/test_trace_node.py b/tests/datastore_psycopg2/test_trace_node.py
index 62de7e5e5d..b9cd457887 100644
--- a/tests/datastore_psycopg2/test_trace_node.py
+++ b/tests/datastore_psycopg2/test_trace_node.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2
from testing_support.fixtures import (validate_tt_collector_json,
diff --git a/tests/datastore_psycopg2/utils.py b/tests/datastore_psycopg2/utils.py
index d78950943b..fa07abd172 100644
--- a/tests/datastore_psycopg2/utils.py
+++ b/tests/datastore_psycopg2/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from testing_support.db_settings import postgresql_settings
diff --git a/tests/datastore_psycopg2cffi/conftest.py b/tests/datastore_psycopg2cffi/conftest.py
index 96477c9c5a..eb512cdaee 100644
--- a/tests/datastore_psycopg2cffi/conftest.py
+++ b/tests/datastore_psycopg2cffi/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_psycopg2cffi/test_database.py b/tests/datastore_psycopg2cffi/test_database.py
index 1731e79d47..c0eb6e722a 100644
--- a/tests/datastore_psycopg2cffi/test_database.py
+++ b/tests/datastore_psycopg2cffi/test_database.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2cffi
import psycopg2cffi.extensions
import psycopg2cffi.extras
diff --git a/tests/datastore_psycopg2cffi/test_explain_plans.py b/tests/datastore_psycopg2cffi/test_explain_plans.py
index a36eef24af..d0f9836b26 100644
--- a/tests/datastore_psycopg2cffi/test_explain_plans.py
+++ b/tests/datastore_psycopg2cffi/test_explain_plans.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import psycopg2cffi
import psycopg2cffi.extensions
import psycopg2cffi.extras
diff --git a/tests/datastore_pyelasticsearch/conftest.py b/tests/datastore_pyelasticsearch/conftest.py
index 70967d020b..c790055d06 100644
--- a/tests/datastore_pyelasticsearch/conftest.py
+++ b/tests/datastore_pyelasticsearch/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_pyelasticsearch/test_pyelasticsearch.py b/tests/datastore_pyelasticsearch/test_pyelasticsearch.py
index 0450808d02..837c9ae193 100644
--- a/tests/datastore_pyelasticsearch/test_pyelasticsearch.py
+++ b/tests/datastore_pyelasticsearch/test_pyelasticsearch.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sqlite3
from pyelasticsearch import ElasticSearch
diff --git a/tests/datastore_pylibmc/conftest.py b/tests/datastore_pylibmc/conftest.py
index 4a095d87bc..a3f6a16eb6 100644
--- a/tests/datastore_pylibmc/conftest.py
+++ b/tests/datastore_pylibmc/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_pylibmc/test_memcache.py b/tests/datastore_pylibmc/test_memcache.py
index 2bc0c5b35c..554581fdc9 100644
--- a/tests/datastore_pylibmc/test_memcache.py
+++ b/tests/datastore_pylibmc/test_memcache.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import pylibmc
diff --git a/tests/datastore_pymemcache/conftest.py b/tests/datastore_pymemcache/conftest.py
index 6649892e00..2a371ea66d 100644
--- a/tests/datastore_pymemcache/conftest.py
+++ b/tests/datastore_pymemcache/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_pymemcache/test_memcache.py b/tests/datastore_pymemcache/test_memcache.py
index 16ebe2de8f..12bd5da1a4 100644
--- a/tests/datastore_pymemcache/test_memcache.py
+++ b/tests/datastore_pymemcache/test_memcache.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import pymemcache.client
diff --git a/tests/datastore_pymongo/conftest.py b/tests/datastore_pymongo/conftest.py
index eb732f2bb7..3f42bd4e85 100644
--- a/tests/datastore_pymongo/conftest.py
+++ b/tests/datastore_pymongo/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_pymongo/test_pymongo.py b/tests/datastore_pymongo/test_pymongo.py
index cb4c951fc4..fa464fa128 100644
--- a/tests/datastore_pymongo/test_pymongo.py
+++ b/tests/datastore_pymongo/test_pymongo.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pymongo
import pytest
import sqlite3
diff --git a/tests/datastore_pymysql/conftest.py b/tests/datastore_pymysql/conftest.py
index 8f06819b28..6803d2f93b 100644
--- a/tests/datastore_pymysql/conftest.py
+++ b/tests/datastore_pymysql/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_pymysql/test_database.py b/tests/datastore_pymysql/test_database.py
index d9b5762489..2f20d8cbd3 100644
--- a/tests/datastore_pymysql/test_database.py
+++ b/tests/datastore_pymysql/test_database.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pymysql
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/datastore_pysolr/conftest.py b/tests/datastore_pysolr/conftest.py
index a19f7e2fdd..c5451b4827 100644
--- a/tests/datastore_pysolr/conftest.py
+++ b/tests/datastore_pysolr/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_pysolr/test_solr.py b/tests/datastore_pysolr/test_solr.py
index e2df2fa397..785c3cb9f9 100644
--- a/tests/datastore_pysolr/test_solr.py
+++ b/tests/datastore_pysolr/test_solr.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from pysolr import Solr
from testing_support.fixtures import validate_transaction_metrics
diff --git a/tests/datastore_redis/conftest.py b/tests/datastore_redis/conftest.py
index cbe475593e..ccf19f65c2 100644
--- a/tests/datastore_redis/conftest.py
+++ b/tests/datastore_redis/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_redis/test_custom_conn_pool.py b/tests/datastore_redis/test_custom_conn_pool.py
index 165849aa35..9700392cc9 100644
--- a/tests/datastore_redis/test_custom_conn_pool.py
+++ b/tests/datastore_redis/test_custom_conn_pool.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
''' The purpose of these tests is to confirm that using a non-standard
connection pool that does not have a `connection_kwargs` attribute
will not result in an error.
diff --git a/tests/datastore_redis/test_execute_command.py b/tests/datastore_redis/test_execute_command.py
index c3a48a8d3e..c86295b354 100644
--- a/tests/datastore_redis/test_execute_command.py
+++ b/tests/datastore_redis/test_execute_command.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import redis
diff --git a/tests/datastore_redis/test_get_and_set.py b/tests/datastore_redis/test_get_and_set.py
index 9b39422549..2c40ddc129 100644
--- a/tests/datastore_redis/test_get_and_set.py
+++ b/tests/datastore_redis/test_get_and_set.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import redis
from newrelic.api.background_task import background_task
diff --git a/tests/datastore_redis/test_instance_info.py b/tests/datastore_redis/test_instance_info.py
index 1e0e448fef..76b0182a23 100644
--- a/tests/datastore_redis/test_instance_info.py
+++ b/tests/datastore_redis/test_instance_info.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import redis
diff --git a/tests/datastore_redis/test_multiple_dbs.py b/tests/datastore_redis/test_multiple_dbs.py
index b2d3fc5cac..8f570101d1 100644
--- a/tests/datastore_redis/test_multiple_dbs.py
+++ b/tests/datastore_redis/test_multiple_dbs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import redis
diff --git a/tests/datastore_redis/test_rb.py b/tests/datastore_redis/test_rb.py
index 80b025e1a9..7f4feeda7d 100644
--- a/tests/datastore_redis/test_rb.py
+++ b/tests/datastore_redis/test_rb.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
''' The purpose of these tests is to confirm that we will record
record instance info for Redis Blaster commands that go through
redis.Connection:send_command(). Commands that don't use send_command,
diff --git a/tests/datastore_redis/test_span_event.py b/tests/datastore_redis/test_span_event.py
index f6ee4cb5c8..27103e971f 100644
--- a/tests/datastore_redis/test_span_event.py
+++ b/tests/datastore_redis/test_span_event.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import redis
diff --git a/tests/datastore_redis/test_trace_node.py b/tests/datastore_redis/test_trace_node.py
index ca637e3ff1..39b7763ba7 100644
--- a/tests/datastore_redis/test_trace_node.py
+++ b/tests/datastore_redis/test_trace_node.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import redis
from testing_support.fixtures import (validate_tt_collector_json,
diff --git a/tests/datastore_solrpy/conftest.py b/tests/datastore_solrpy/conftest.py
index 2b760840d0..6a66252618 100644
--- a/tests/datastore_solrpy/conftest.py
+++ b/tests/datastore_solrpy/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_solrpy/test_solr.py b/tests/datastore_solrpy/test_solr.py
index 66238b091c..86dc23d4ad 100644
--- a/tests/datastore_solrpy/test_solr.py
+++ b/tests/datastore_solrpy/test_solr.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from solr import SolrConnection
from testing_support.fixtures import validate_transaction_metrics
diff --git a/tests/datastore_sqlite/conftest.py b/tests/datastore_sqlite/conftest.py
index 86e9c0f423..c6e20696fa 100644
--- a/tests/datastore_sqlite/conftest.py
+++ b/tests/datastore_sqlite/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_sqlite/test_database.py b/tests/datastore_sqlite/test_database.py
index 49e6ca8a0c..aa47db46d6 100644
--- a/tests/datastore_sqlite/test_database.py
+++ b/tests/datastore_sqlite/test_database.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sqlite3 as database
import os
import sys
diff --git a/tests/datastore_sqlite/test_obfuscation.py b/tests/datastore_sqlite/test_obfuscation.py
index 89aefd9fbf..8a87df35d4 100644
--- a/tests/datastore_sqlite/test_obfuscation.py
+++ b/tests/datastore_sqlite/test_obfuscation.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.api.background_task import background_task
diff --git a/tests/datastore_umemcache/conftest.py b/tests/datastore_umemcache/conftest.py
index 3213f43dac..a3c1aa8904 100644
--- a/tests/datastore_umemcache/conftest.py
+++ b/tests/datastore_umemcache/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/datastore_umemcache/test_memcache.py b/tests/datastore_umemcache/test_memcache.py
index 268075ebf2..ce6475a49e 100644
--- a/tests/datastore_umemcache/test_memcache.py
+++ b/tests/datastore_umemcache/test_memcache.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import umemcache
diff --git a/tests/external_boto3/conftest.py b/tests/external_boto3/conftest.py
index 21bf4f2d91..9e8da36812 100644
--- a/tests/external_boto3/conftest.py
+++ b/tests/external_boto3/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_boto3/test_boto3_iam.py b/tests/external_boto3/test_boto3_iam.py
index 962d281b69..9c6246c8c7 100644
--- a/tests/external_boto3/test_boto3_iam.py
+++ b/tests/external_boto3/test_boto3_iam.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import uuid
diff --git a/tests/external_boto3/test_boto3_s3.py b/tests/external_boto3/test_boto3_s3.py
index c3744dccb8..ba65bc950f 100644
--- a/tests/external_boto3/test_boto3_s3.py
+++ b/tests/external_boto3/test_boto3_s3.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import uuid
diff --git a/tests/external_boto3/test_boto3_sns.py b/tests/external_boto3/test_boto3_sns.py
index 7f0bd9d33a..38c8c951cb 100644
--- a/tests/external_boto3/test_boto3_sns.py
+++ b/tests/external_boto3/test_boto3_sns.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import boto3
import moto
diff --git a/tests/external_botocore/conftest.py b/tests/external_botocore/conftest.py
index 91c5fb2e14..93b41577e9 100644
--- a/tests/external_botocore/conftest.py
+++ b/tests/external_botocore/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_botocore/test_botocore_dynamodb.py b/tests/external_botocore/test_botocore_dynamodb.py
index 5b8f0060cd..eb0432aba1 100644
--- a/tests/external_botocore/test_botocore_dynamodb.py
+++ b/tests/external_botocore/test_botocore_dynamodb.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import uuid
diff --git a/tests/external_botocore/test_botocore_ec2.py b/tests/external_botocore/test_botocore_ec2.py
index 19ccea56a5..6f91ad75f1 100644
--- a/tests/external_botocore/test_botocore_ec2.py
+++ b/tests/external_botocore/test_botocore_ec2.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import uuid
diff --git a/tests/external_botocore/test_botocore_s3.py b/tests/external_botocore/test_botocore_s3.py
index 21af03b6c8..3cd4ecd933 100644
--- a/tests/external_botocore/test_botocore_s3.py
+++ b/tests/external_botocore/test_botocore_s3.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import uuid
diff --git a/tests/external_botocore/test_botocore_sqs.py b/tests/external_botocore/test_botocore_sqs.py
index ffe8c5829d..46482c6755 100644
--- a/tests/external_botocore/test_botocore_sqs.py
+++ b/tests/external_botocore/test_botocore_sqs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import uuid
import pytest
diff --git a/tests/external_feedparser/conftest.py b/tests/external_feedparser/conftest.py
index b42e837bbb..75962797d5 100644
--- a/tests/external_feedparser/conftest.py
+++ b/tests/external_feedparser/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture, # noqa
collector_agent_registration_fixture, collector_available_fixture)
diff --git a/tests/external_feedparser/packages.xml b/tests/external_feedparser/packages.xml
index 0cffe61ee8..2dab448e1f 100644
--- a/tests/external_feedparser/packages.xml
+++ b/tests/external_feedparser/packages.xml
@@ -1,4 +1,20 @@
+
+
diff --git a/tests/external_feedparser/test_feedparser.py b/tests/external_feedparser/test_feedparser.py
index 0d0008d5ca..9cb175711d 100644
--- a/tests/external_feedparser/test_feedparser.py
+++ b/tests/external_feedparser/test_feedparser.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.api.background_task import background_task
from testing_support.fixtures import validate_transaction_metrics
diff --git a/tests/external_http/conftest.py b/tests/external_http/conftest.py
index 12d9670abd..1fb1aa68d9 100644
--- a/tests/external_http/conftest.py
+++ b/tests/external_http/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_http/test_http.py b/tests/external_http/test_http.py
index fae6186087..7ddf57712c 100644
--- a/tests/external_http/test_http.py
+++ b/tests/external_http/test_http.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import six
diff --git a/tests/external_httplib/conftest.py b/tests/external_httplib/conftest.py
index 4a33f2bc0d..d6111fad87 100644
--- a/tests/external_httplib/conftest.py
+++ b/tests/external_httplib/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_httplib/test_httplib.py b/tests/external_httplib/test_httplib.py
index b1c8333eaa..30819edf97 100644
--- a/tests/external_httplib/test_httplib.py
+++ b/tests/external_httplib/test_httplib.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
try:
import http.client as httplib
diff --git a/tests/external_httplib/test_urllib.py b/tests/external_httplib/test_urllib.py
index 506c150cae..2075c72626 100644
--- a/tests/external_httplib/test_urllib.py
+++ b/tests/external_httplib/test_urllib.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import os
diff --git a/tests/external_httplib/test_urllib2.py b/tests/external_httplib/test_urllib2.py
index 688b404447..80d2efe476 100644
--- a/tests/external_httplib/test_urllib2.py
+++ b/tests/external_httplib/test_urllib2.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import os
diff --git a/tests/external_httplib2/conftest.py b/tests/external_httplib2/conftest.py
index 3ce1af41a4..c1f0a6f7bf 100644
--- a/tests/external_httplib2/conftest.py
+++ b/tests/external_httplib2/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_httplib2/test_httplib2.py b/tests/external_httplib2/test_httplib2.py
index efd5e6cb73..3ce9cac019 100644
--- a/tests/external_httplib2/test_httplib2.py
+++ b/tests/external_httplib2/test_httplib2.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import httplib2
diff --git a/tests/external_requests/conftest.py b/tests/external_requests/conftest.py
index 98e2ec1dc8..c5172c0577 100644
--- a/tests/external_requests/conftest.py
+++ b/tests/external_requests/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_requests/test_requests.py b/tests/external_requests/test_requests.py
index 15fe4dea79..cfe69d4b5b 100644
--- a/tests/external_requests/test_requests.py
+++ b/tests/external_requests/test_requests.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import requests
import requests.exceptions
diff --git a/tests/external_requests/test_span_event.py b/tests/external_requests/test_span_event.py
index 8b7ad0acf1..575b2d52b7 100644
--- a/tests/external_requests/test_span_event.py
+++ b/tests/external_requests/test_span_event.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import requests
diff --git a/tests/external_urllib3/conftest.py b/tests/external_urllib3/conftest.py
index 4255998e33..31b0963c7d 100644
--- a/tests/external_urllib3/conftest.py
+++ b/tests/external_urllib3/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/external_urllib3/test_urllib3.py b/tests/external_urllib3/test_urllib3.py
index 7fcec90e4f..f35703a51e 100644
--- a/tests/external_urllib3/test_urllib3.py
+++ b/tests/external_urllib3/test_urllib3.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import urllib3
import urllib3.connectionpool
diff --git a/tests/framework_aiohttp/_target_application.py b/tests/framework_aiohttp/_target_application.py
index fda57a606d..11d1fa5545 100644
--- a/tests/framework_aiohttp/_target_application.py
+++ b/tests/framework_aiohttp/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
import sys
from aiohttp import web, WSMsgType, ClientSession
diff --git a/tests/framework_aiohttp/conftest.py b/tests/framework_aiohttp/conftest.py
index 3fffccaf7e..26cdd2a156 100644
--- a/tests/framework_aiohttp/conftest.py
+++ b/tests/framework_aiohttp/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import asyncio
from collections import namedtuple
diff --git a/tests/framework_aiohttp/test_client.py b/tests/framework_aiohttp/test_client.py
index 4b82d38e54..5559c4f361 100644
--- a/tests/framework_aiohttp/test_client.py
+++ b/tests/framework_aiohttp/test_client.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import aiohttp
import asyncio
import pytest
diff --git a/tests/framework_aiohttp/test_client_async_await.py b/tests/framework_aiohttp/test_client_async_await.py
index 56bc74f4f2..928390c43c 100644
--- a/tests/framework_aiohttp/test_client_async_await.py
+++ b/tests/framework_aiohttp/test_client_async_await.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
import aiohttp
import pytest
diff --git a/tests/framework_aiohttp/test_client_cat.py b/tests/framework_aiohttp/test_client_cat.py
index 3897a033b7..f444713c8d 100644
--- a/tests/framework_aiohttp/test_client_cat.py
+++ b/tests/framework_aiohttp/test_client_cat.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import asyncio
import aiohttp
diff --git a/tests/framework_aiohttp/test_externals.py b/tests/framework_aiohttp/test_externals.py
index 914cb5d687..a410590efe 100644
--- a/tests/framework_aiohttp/test_externals.py
+++ b/tests/framework_aiohttp/test_externals.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import asyncio
diff --git a/tests/framework_aiohttp/test_middleware.py b/tests/framework_aiohttp/test_middleware.py
index 5d3f4d2eda..a601a53e8f 100644
--- a/tests/framework_aiohttp/test_middleware.py
+++ b/tests/framework_aiohttp/test_middleware.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import asyncio
import aiohttp
diff --git a/tests/framework_aiohttp/test_server.py b/tests/framework_aiohttp/test_server.py
index 0d89def659..d27d642ab8 100644
--- a/tests/framework_aiohttp/test_server.py
+++ b/tests/framework_aiohttp/test_server.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import asyncio
import aiohttp
diff --git a/tests/framework_aiohttp/test_server_cat.py b/tests/framework_aiohttp/test_server_cat.py
index ffdfded8e1..a09fa6b797 100644
--- a/tests/framework_aiohttp/test_server_cat.py
+++ b/tests/framework_aiohttp/test_server_cat.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
import json
import pytest
diff --git a/tests/framework_aiohttp/test_ws.py b/tests/framework_aiohttp/test_ws.py
index bbfb19a9fd..549902d6e7 100644
--- a/tests/framework_aiohttp/test_ws.py
+++ b/tests/framework_aiohttp/test_ws.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import asyncio
import aiohttp
from testing_support.fixtures import function_not_called
diff --git a/tests/framework_bottle/_target_application.py b/tests/framework_bottle/_target_application.py
index db07ca69be..0a74e3f568 100644
--- a/tests/framework_bottle/_target_application.py
+++ b/tests/framework_bottle/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from bottle import __version__ as version
diff --git a/tests/framework_bottle/conftest.py b/tests/framework_bottle/conftest.py
index fd723bff47..ff8eb1c80a 100644
--- a/tests/framework_bottle/conftest.py
+++ b/tests/framework_bottle/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_bottle/test_application.py b/tests/framework_bottle/test_application.py
index 8dd7fc3707..c046251491 100644
--- a/tests/framework_bottle/test_application.py
+++ b/tests/framework_bottle/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import base64
diff --git a/tests/framework_cherrypy/conftest.py b/tests/framework_cherrypy/conftest.py
index ae1be154f8..d57b2b6121 100644
--- a/tests/framework_cherrypy/conftest.py
+++ b/tests/framework_cherrypy/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_cherrypy/test_application.py b/tests/framework_cherrypy/test_application.py
index 3f41d2fa82..a65509f162 100644
--- a/tests/framework_cherrypy/test_application.py
+++ b/tests/framework_cherrypy/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import webtest
diff --git a/tests/framework_cherrypy/test_dispatch.py b/tests/framework_cherrypy/test_dispatch.py
index c75da63877..0a3f8e7c71 100644
--- a/tests/framework_cherrypy/test_dispatch.py
+++ b/tests/framework_cherrypy/test_dispatch.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import webtest
diff --git a/tests/framework_cherrypy/test_resource.py b/tests/framework_cherrypy/test_resource.py
index 582c63a74f..4d5c4dd726 100644
--- a/tests/framework_cherrypy/test_resource.py
+++ b/tests/framework_cherrypy/test_resource.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from testing_support.fixtures import validate_transaction_errors
diff --git a/tests/framework_cherrypy/test_routes.py b/tests/framework_cherrypy/test_routes.py
index 7f4c7a1b58..d481dc9541 100644
--- a/tests/framework_cherrypy/test_routes.py
+++ b/tests/framework_cherrypy/test_routes.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import sys
import webtest
diff --git a/tests/framework_django/_target_application.py b/tests/framework_django/_target_application.py
index ad57c7f301..f38617483a 100644
--- a/tests/framework_django/_target_application.py
+++ b/tests/framework_django/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from wsgi import application
diff --git a/tests/framework_django/conftest.py b/tests/framework_django/conftest.py
index bb86de4216..b1043fecf1 100644
--- a/tests/framework_django/conftest.py
+++ b/tests/framework_django/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_django/dummy_app/templatetags/custom_tags.py b/tests/framework_django/dummy_app/templatetags/custom_tags.py
index 8a6c3fe8d4..95b637884a 100644
--- a/tests/framework_django/dummy_app/templatetags/custom_tags.py
+++ b/tests/framework_django/dummy_app/templatetags/custom_tags.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from django import template
register = template.Library()
diff --git a/tests/framework_django/middleware.py b/tests/framework_django/middleware.py
index e5ec02c6b6..2d9e794467 100644
--- a/tests/framework_django/middleware.py
+++ b/tests/framework_django/middleware.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from django.http import HttpResponseGone
diff --git a/tests/framework_django/settings.py b/tests/framework_django/settings.py
index 1db4fdb4ff..68ce50eb4a 100644
--- a/tests/framework_django/settings.py
+++ b/tests/framework_django/settings.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import os
import django
diff --git a/tests/framework_django/templates/main.html b/tests/framework_django/templates/main.html
index 1bdcae1190..bcf5afda39 100644
--- a/tests/framework_django/templates/main.html
+++ b/tests/framework_django/templates/main.html
@@ -1,3 +1,19 @@
+
+
{% load custom_tags %}
{% load newrelic_tags %}
diff --git a/tests/framework_django/templates/render_exception.html b/tests/framework_django/templates/render_exception.html
index cd6ac0e6d6..17290d99e9 100644
--- a/tests/framework_django/templates/render_exception.html
+++ b/tests/framework_django/templates/render_exception.html
@@ -1,4 +1,20 @@
+
+
diff --git a/tests/framework_django/templates/results.html b/tests/framework_django/templates/results.html
index b34ca68e7e..b9e403e208 100644
--- a/tests/framework_django/templates/results.html
+++ b/tests/framework_django/templates/results.html
@@ -1,3 +1,19 @@
+
+
Here is the {{ results }}
diff --git a/tests/framework_django/test_application.py b/tests/framework_django/test_application.py
index 4f81a1852f..8700376549 100644
--- a/tests/framework_django/test_application.py
+++ b/tests/framework_django/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from testing_support.fixtures import (validate_transaction_metrics,
validate_transaction_errors, override_application_settings,
override_generic_settings, override_ignore_status_codes)
diff --git a/tests/framework_django/urls.py b/tests/framework_django/urls.py
index d40dcef66b..3e901e945a 100644
--- a/tests/framework_django/urls.py
+++ b/tests/framework_django/urls.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
try:
from django.conf.urls.defaults import url
except ImportError:
diff --git a/tests/framework_django/views.py b/tests/framework_django/views.py
index 3f88eb28e4..c5ce1526c7 100644
--- a/tests/framework_django/views.py
+++ b/tests/framework_django/views.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from django.http import HttpResponse
from django.views.generic.base import View, TemplateView
from django.shortcuts import render
diff --git a/tests/framework_django/wsgi.py b/tests/framework_django/wsgi.py
index 8bcbca2f95..17b0d9bd16 100644
--- a/tests/framework_django/wsgi.py
+++ b/tests/framework_django/wsgi.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
"""
WSGI config for sample project.
diff --git a/tests/framework_falcon/_target_application.py b/tests/framework_falcon/_target_application.py
index 9649a6453d..e78e5bb633 100644
--- a/tests/framework_falcon/_target_application.py
+++ b/tests/framework_falcon/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import falcon
import webtest
diff --git a/tests/framework_falcon/conftest.py b/tests/framework_falcon/conftest.py
index 85291a336f..004a43a6ac 100644
--- a/tests/framework_falcon/conftest.py
+++ b/tests/framework_falcon/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_falcon/test_application.py b/tests/framework_falcon/test_application.py
index 8ffc6cb9e0..cb60f7581d 100644
--- a/tests/framework_falcon/test_application.py
+++ b/tests/framework_falcon/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.core.config import global_settings
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_fastapi/_target_application.py b/tests/framework_fastapi/_target_application.py
index 7717012a6f..360eaf3a7b 100644
--- a/tests/framework_fastapi/_target_application.py
+++ b/tests/framework_fastapi/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from fastapi import FastAPI
from testing_support.asgi_testing import AsgiTest
from newrelic.api.transaction import current_transaction
diff --git a/tests/framework_fastapi/conftest.py b/tests/framework_fastapi/conftest.py
index 7eb3ec4e6e..b90bce67f0 100644
--- a/tests/framework_fastapi/conftest.py
+++ b/tests/framework_fastapi/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_fastapi/test_application.py b/tests/framework_fastapi/test_application.py
index f590001e32..41860409ad 100644
--- a/tests/framework_fastapi/test_application.py
+++ b/tests/framework_fastapi/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import validate_transaction_metrics
diff --git a/tests/framework_flask/_test_application.py b/tests/framework_flask/_test_application.py
index 6d0fe81769..ff8666817a 100644
--- a/tests/framework_flask/_test_application.py
+++ b/tests/framework_flask/_test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from flask import Flask, render_template_string, render_template, abort
diff --git a/tests/framework_flask/_test_blueprints.py b/tests/framework_flask/_test_blueprints.py
index fa7f45b770..950ed7f7e2 100644
--- a/tests/framework_flask/_test_blueprints.py
+++ b/tests/framework_flask/_test_blueprints.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from flask import Flask
diff --git a/tests/framework_flask/_test_compress.py b/tests/framework_flask/_test_compress.py
index 4411fb733b..f3c9fbf2be 100644
--- a/tests/framework_flask/_test_compress.py
+++ b/tests/framework_flask/_test_compress.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
try:
from io import BytesIO as IO
except ImportError:
diff --git a/tests/framework_flask/_test_middleware.py b/tests/framework_flask/_test_middleware.py
index 1a4c86f323..41abb8b8cc 100644
--- a/tests/framework_flask/_test_middleware.py
+++ b/tests/framework_flask/_test_middleware.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from flask import Flask
diff --git a/tests/framework_flask/_test_not_found.py b/tests/framework_flask/_test_not_found.py
index 4443ba545f..acc18728f2 100644
--- a/tests/framework_flask/_test_not_found.py
+++ b/tests/framework_flask/_test_not_found.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import webtest
diff --git a/tests/framework_flask/_test_user_exceptions.py b/tests/framework_flask/_test_user_exceptions.py
index 710e70037a..1a24881e2b 100644
--- a/tests/framework_flask/_test_user_exceptions.py
+++ b/tests/framework_flask/_test_user_exceptions.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from flask import Flask
diff --git a/tests/framework_flask/_test_views.py b/tests/framework_flask/_test_views.py
index cc9c4de61d..e8f8ebb164 100644
--- a/tests/framework_flask/_test_views.py
+++ b/tests/framework_flask/_test_views.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
import flask
diff --git a/tests/framework_flask/conftest.py b/tests/framework_flask/conftest.py
index d107fce897..cfc9b86066 100644
--- a/tests/framework_flask/conftest.py
+++ b/tests/framework_flask/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_flask/test_application.py b/tests/framework_flask/test_application.py
index 6677b0eb09..d301402c3a 100644
--- a/tests/framework_flask/test_application.py
+++ b/tests/framework_flask/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_flask/test_blueprints.py b/tests/framework_flask/test_blueprints.py
index 7c9c30c952..bfc1e00e12 100644
--- a/tests/framework_flask/test_blueprints.py
+++ b/tests/framework_flask/test_blueprints.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_flask/test_compress.py b/tests/framework_flask/test_compress.py
index 9d2918234c..b9c0c55aac 100644
--- a/tests/framework_flask/test_compress.py
+++ b/tests/framework_flask/test_compress.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from testing_support.fixtures import (validate_transaction_metrics,
validate_transaction_errors, override_application_settings)
diff --git a/tests/framework_flask/test_middleware.py b/tests/framework_flask/test_middleware.py
index cc58777045..34c00bdf36 100644
--- a/tests/framework_flask/test_middleware.py
+++ b/tests/framework_flask/test_middleware.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_flask/test_not_found.py b/tests/framework_flask/test_not_found.py
index 0249de8a76..25f61ecb7e 100644
--- a/tests/framework_flask/test_not_found.py
+++ b/tests/framework_flask/test_not_found.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_flask/test_user_exceptions.py b/tests/framework_flask/test_user_exceptions.py
index b8c2222510..213fe2087e 100644
--- a/tests/framework_flask/test_user_exceptions.py
+++ b/tests/framework_flask/test_user_exceptions.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_flask/test_views.py b/tests/framework_flask/test_views.py
index 146932de37..e13f3561ec 100644
--- a/tests/framework_flask/test_views.py
+++ b/tests/framework_flask/test_views.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_grpc/_test_common.py b/tests/framework_grpc/_test_common.py
index 051d143411..117d2d2b0f 100644
--- a/tests/framework_grpc/_test_common.py
+++ b/tests/framework_grpc/_test_common.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import grpc
import threading
import functools
diff --git a/tests/framework_grpc/conftest.py b/tests/framework_grpc/conftest.py
index 2bae6e93cf..ae869d7c3c 100644
--- a/tests/framework_grpc/conftest.py
+++ b/tests/framework_grpc/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import gc
import grpc
import pytest
diff --git a/tests/framework_grpc/sample_application/__init__.py b/tests/framework_grpc/sample_application/__init__.py
index 1b88ef1dcf..32f13b3cd6 100644
--- a/tests/framework_grpc/sample_application/__init__.py
+++ b/tests/framework_grpc/sample_application/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import time
from newrelic.api.transaction import current_transaction
diff --git a/tests/framework_grpc/sample_application/sample_application.proto b/tests/framework_grpc/sample_application/sample_application.proto
index f863104a3e..2a57595c29 100644
--- a/tests/framework_grpc/sample_application/sample_application.proto
+++ b/tests/framework_grpc/sample_application/sample_application.proto
@@ -1,3 +1,17 @@
+// Copyright 2010 New Relic, Inc.
+//
+// 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.
+
syntax = "proto3";
service SampleApplication {
diff --git a/tests/framework_grpc/test_clients.py b/tests/framework_grpc/test_clients.py
index 4a1354ceaa..e8fed1da52 100644
--- a/tests/framework_grpc/test_clients.py
+++ b/tests/framework_grpc/test_clients.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import grpc
import pytest
import six
diff --git a/tests/framework_grpc/test_distributed_tracing.py b/tests/framework_grpc/test_distributed_tracing.py
index ddcfdda2d5..7cd134ca00 100644
--- a/tests/framework_grpc/test_distributed_tracing.py
+++ b/tests/framework_grpc/test_distributed_tracing.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import pytest
from newrelic.api.application import application_instance
diff --git a/tests/framework_grpc/test_get_url.py b/tests/framework_grpc/test_get_url.py
index 7dbdc0962c..43fad0adf4 100644
--- a/tests/framework_grpc/test_get_url.py
+++ b/tests/framework_grpc/test_get_url.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import grpc
import grpc._channel
import pytest
diff --git a/tests/framework_grpc/test_server.py b/tests/framework_grpc/test_server.py
index 51334b02b8..9c5db4333a 100644
--- a/tests/framework_grpc/test_server.py
+++ b/tests/framework_grpc/test_server.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import six
import grpc
import pytest
diff --git a/tests/framework_pyramid/_test_append_slash_app.py b/tests/framework_pyramid/_test_append_slash_app.py
index 50fd0130e4..7bbd44eee2 100644
--- a/tests/framework_pyramid/_test_append_slash_app.py
+++ b/tests/framework_pyramid/_test_append_slash_app.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from pyramid.response import Response
diff --git a/tests/framework_pyramid/_test_application.py b/tests/framework_pyramid/_test_application.py
index 2f29efb83a..1ae86140f5 100644
--- a/tests/framework_pyramid/_test_application.py
+++ b/tests/framework_pyramid/_test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import webtest
from pyramid.response import Response
diff --git a/tests/framework_pyramid/conftest.py b/tests/framework_pyramid/conftest.py
index 8a98f33557..3a12414392 100644
--- a/tests/framework_pyramid/conftest.py
+++ b/tests/framework_pyramid/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_pyramid/test_append_slash_app.py b/tests/framework_pyramid/test_append_slash_app.py
index 6b6914543a..875f910128 100644
--- a/tests/framework_pyramid/test_append_slash_app.py
+++ b/tests/framework_pyramid/test_append_slash_app.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
"""These tests check two things:
1. Using a notfound_view will name the transaction after the not_found
diff --git a/tests/framework_pyramid/test_application.py b/tests/framework_pyramid/test_application.py
index 3e6ae8ebbe..892e29e75b 100644
--- a/tests/framework_pyramid/test_application.py
+++ b/tests/framework_pyramid/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/framework_pyramid/test_cornice.py b/tests/framework_pyramid/test_cornice.py
index 7759ceffac..4d6fea6eae 100644
--- a/tests/framework_pyramid/test_cornice.py
+++ b/tests/framework_pyramid/test_cornice.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (validate_transaction_errors,
diff --git a/tests/framework_sanic/_target_application.py b/tests/framework_sanic/_target_application.py
index 6c5587aac4..392465775b 100644
--- a/tests/framework_sanic/_target_application.py
+++ b/tests/framework_sanic/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from sanic import Sanic
from sanic.exceptions import NotFound, SanicException, ServerError
from sanic.handlers import ErrorHandler
diff --git a/tests/framework_sanic/conftest.py b/tests/framework_sanic/conftest.py
index 4e22b4f1d0..ca06be50a4 100644
--- a/tests/framework_sanic/conftest.py
+++ b/tests/framework_sanic/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture,
diff --git a/tests/framework_sanic/test_application.py b/tests/framework_sanic/test_application.py
index 7b9e8df957..e521a9bac1 100644
--- a/tests/framework_sanic/test_application.py
+++ b/tests/framework_sanic/test_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
import sanic
diff --git a/tests/framework_sanic/test_cross_application.py b/tests/framework_sanic/test_cross_application.py
index 86f2e6e519..6c63207648 100644
--- a/tests/framework_sanic/test_cross_application.py
+++ b/tests/framework_sanic/test_cross_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import pytest
import re
diff --git a/tests/framework_tornado/_target_application.py b/tests/framework_tornado/_target_application.py
index 7cc00c7352..497b81efd8 100644
--- a/tests/framework_tornado/_target_application.py
+++ b/tests/framework_tornado/_target_application.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import time
import tornado.ioloop
import tornado.web
diff --git a/tests/framework_tornado/conftest.py b/tests/framework_tornado/conftest.py
index 013931331f..cec4549d24 100644
--- a/tests/framework_tornado/conftest.py
+++ b/tests/framework_tornado/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import (code_coverage_fixture, # noqa
diff --git a/tests/framework_tornado/test_custom_handler.py b/tests/framework_tornado/test_custom_handler.py
index f71c4e7f9a..3e7a80ebe4 100644
--- a/tests/framework_tornado/test_custom_handler.py
+++ b/tests/framework_tornado/test_custom_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from testing_support.fixtures import validate_transaction_metrics
diff --git a/tests/framework_tornado/test_externals.py b/tests/framework_tornado/test_externals.py
index faa886bc1e..7d39b6ebbf 100644
--- a/tests/framework_tornado/test_externals.py
+++ b/tests/framework_tornado/test_externals.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import io
import pytest
import socket
diff --git a/tests/framework_tornado/test_inbound_cat.py b/tests/framework_tornado/test_inbound_cat.py
index bbf6be1112..87ebe03d0b 100644
--- a/tests/framework_tornado/test_inbound_cat.py
+++ b/tests/framework_tornado/test_inbound_cat.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import json
import pytest
from testing_support.fixtures import (make_cross_agent_headers,
diff --git a/tests/framework_tornado/test_server.py b/tests/framework_tornado/test_server.py
index d0c49de74d..d5e65d30d4 100644
--- a/tests/framework_tornado/test_server.py
+++ b/tests/framework_tornado/test_server.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pytest
from newrelic.core.config import global_settings
from testing_support.fixtures import (validate_transaction_metrics,
diff --git a/tests/messagebroker_pika/compat.py b/tests/messagebroker_pika/compat.py
index 3e83e84236..b19e3e712e 100644
--- a/tests/messagebroker_pika/compat.py
+++ b/tests/messagebroker_pika/compat.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from minversion import pika_version_info
diff --git a/tests/messagebroker_pika/conftest.py b/tests/messagebroker_pika/conftest.py
index aaa3cb34d1..aa2112e028 100644
--- a/tests/messagebroker_pika/conftest.py
+++ b/tests/messagebroker_pika/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pika
import pytest
import uuid
diff --git a/tests/messagebroker_pika/minversion.py b/tests/messagebroker_pika/minversion.py
index ef9f67e0bb..0c2148fe30 100644
--- a/tests/messagebroker_pika/minversion.py
+++ b/tests/messagebroker_pika/minversion.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import sys
import pytest
import pika
diff --git a/tests/messagebroker_pika/test_cat.py b/tests/messagebroker_pika/test_cat.py
index 61c3fcce59..f5423c295b 100644
--- a/tests/messagebroker_pika/test_cat.py
+++ b/tests/messagebroker_pika/test_cat.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from compat import basic_consume
import pika
import six
diff --git a/tests/messagebroker_pika/test_distributed_tracing.py b/tests/messagebroker_pika/test_distributed_tracing.py
index d137dc8c68..f911aaad8f 100644
--- a/tests/messagebroker_pika/test_distributed_tracing.py
+++ b/tests/messagebroker_pika/test_distributed_tracing.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from compat import basic_consume
import pika
import six
diff --git a/tests/messagebroker_pika/test_memory_leak.py b/tests/messagebroker_pika/test_memory_leak.py
index 010a278754..8ad2e2c5af 100644
--- a/tests/messagebroker_pika/test_memory_leak.py
+++ b/tests/messagebroker_pika/test_memory_leak.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import gc
import pika
diff --git a/tests/messagebroker_pika/test_pika_async_connection_consume.py b/tests/messagebroker_pika/test_pika_async_connection_consume.py
index ea50e18626..af0477a2e2 100644
--- a/tests/messagebroker_pika/test_pika_async_connection_consume.py
+++ b/tests/messagebroker_pika/test_pika_async_connection_consume.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from minversion import pika_version_info
from compat import basic_consume
import functools
diff --git a/tests/messagebroker_pika/test_pika_blocking_connection_consume.py b/tests/messagebroker_pika/test_pika_blocking_connection_consume.py
index 849e962aac..5b399dd563 100644
--- a/tests/messagebroker_pika/test_pika_blocking_connection_consume.py
+++ b/tests/messagebroker_pika/test_pika_blocking_connection_consume.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from compat import basic_consume
import functools
import pika
diff --git a/tests/messagebroker_pika/test_pika_blocking_connection_consume_generator.py b/tests/messagebroker_pika/test_pika_blocking_connection_consume_generator.py
index 62c50ef392..a9ee1b3316 100644
--- a/tests/messagebroker_pika/test_pika_blocking_connection_consume_generator.py
+++ b/tests/messagebroker_pika/test_pika_blocking_connection_consume_generator.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pika
from newrelic.api.background_task import background_task
diff --git a/tests/messagebroker_pika/test_pika_produce.py b/tests/messagebroker_pika/test_pika_produce.py
index 323201535b..dbdd4e3ad5 100644
--- a/tests/messagebroker_pika/test_pika_produce.py
+++ b/tests/messagebroker_pika/test_pika_produce.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pika
import pytest
diff --git a/tests/messagebroker_pika/test_pika_supportability.py b/tests/messagebroker_pika/test_pika_supportability.py
index f93c551d22..fa0e466396 100644
--- a/tests/messagebroker_pika/test_pika_supportability.py
+++ b/tests/messagebroker_pika/test_pika_supportability.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from compat import basic_consume
import pika
import six
diff --git a/tests/template_mako/conftest.py b/tests/template_mako/conftest.py
index 645ce2bf91..b639a98510 100644
--- a/tests/template_mako/conftest.py
+++ b/tests/template_mako/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from testing_support.fixtures import (code_coverage_fixture, # noqa
collector_agent_registration_fixture, collector_available_fixture)
diff --git a/tests/template_mako/test_mako.py b/tests/template_mako/test_mako.py
index 823b4a4c58..fd598d7869 100644
--- a/tests/template_mako/test_mako.py
+++ b/tests/template_mako/test_mako.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from mako.template import Template
from testing_support.fixtures import validate_transaction_metrics
from newrelic.api.background_task import background_task
diff --git a/tests/testing_support/db_settings.py b/tests/testing_support/db_settings.py
index 24a0f719fe..8f4c7b49a2 100644
--- a/tests/testing_support/db_settings.py
+++ b/tests/testing_support/db_settings.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
import pwd
import os
diff --git a/tests/testing_support/validators/validate_cross_process_headers.py b/tests/testing_support/validators/validate_cross_process_headers.py
index b85b4a40f2..34aa6fe200 100644
--- a/tests/testing_support/validators/validate_cross_process_headers.py
+++ b/tests/testing_support/validators/validate_cross_process_headers.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.api.transaction import current_transaction
from newrelic.common.object_wrapper import function_wrapper
from testing_support.validators.validate_distributed_tracing_header import \
diff --git a/tests/testing_support/validators/validate_database_duration.py b/tests/testing_support/validators/validate_database_duration.py
index 16c38429fe..d5c77a20d6 100644
--- a/tests/testing_support/validators/validate_database_duration.py
+++ b/tests/testing_support/validators/validate_database_duration.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import transient_function_wrapper
diff --git a/tests/testing_support/validators/validate_database_node.py b/tests/testing_support/validators/validate_database_node.py
index 39ab151acf..8111daeed5 100644
--- a/tests/testing_support/validators/validate_database_node.py
+++ b/tests/testing_support/validators/validate_database_node.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import (transient_function_wrapper,
function_wrapper)
diff --git a/tests/testing_support/validators/validate_database_trace_inputs.py b/tests/testing_support/validators/validate_database_trace_inputs.py
index 4e23cb7d18..f6fef22839 100644
--- a/tests/testing_support/validators/validate_database_trace_inputs.py
+++ b/tests/testing_support/validators/validate_database_trace_inputs.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import transient_function_wrapper
diff --git a/tests/testing_support/validators/validate_distributed_tracing_header.py b/tests/testing_support/validators/validate_distributed_tracing_header.py
index 50f249718a..3f834711bc 100644
--- a/tests/testing_support/validators/validate_distributed_tracing_header.py
+++ b/tests/testing_support/validators/validate_distributed_tracing_header.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.api.transaction import current_transaction
from newrelic.common.encoding_utils import DistributedTracePayload
diff --git a/tests/testing_support/validators/validate_external_node_params.py b/tests/testing_support/validators/validate_external_node_params.py
index 93297d22af..8837392406 100644
--- a/tests/testing_support/validators/validate_external_node_params.py
+++ b/tests/testing_support/validators/validate_external_node_params.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import transient_function_wrapper
diff --git a/tests/testing_support/validators/validate_function_called.py b/tests/testing_support/validators/validate_function_called.py
index b3bd623f85..7203488ec9 100644
--- a/tests/testing_support/validators/validate_function_called.py
+++ b/tests/testing_support/validators/validate_function_called.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import (transient_function_wrapper,
function_wrapper)
diff --git a/tests/testing_support/validators/validate_messagebroker_headers.py b/tests/testing_support/validators/validate_messagebroker_headers.py
index cdf09fa16c..3943782c8a 100644
--- a/tests/testing_support/validators/validate_messagebroker_headers.py
+++ b/tests/testing_support/validators/validate_messagebroker_headers.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import function_wrapper
from newrelic.api.transaction import current_transaction
from testing_support.validators.validate_distributed_tracing_header import validate_distributed_tracing_header
diff --git a/tests/testing_support/validators/validate_outbound_headers.py b/tests/testing_support/validators/validate_outbound_headers.py
index 37a5621d40..52d9c7f3b6 100644
--- a/tests/testing_support/validators/validate_outbound_headers.py
+++ b/tests/testing_support/validators/validate_outbound_headers.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.api.transaction import current_transaction
from newrelic.common.encoding_utils import deobfuscate, json_decode
diff --git a/tests/testing_support/validators/validate_slow_sql_collector_json.py b/tests/testing_support/validators/validate_slow_sql_collector_json.py
index bdb3369599..40cef39d2c 100644
--- a/tests/testing_support/validators/validate_slow_sql_collector_json.py
+++ b/tests/testing_support/validators/validate_slow_sql_collector_json.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.encoding_utils import unpack_field
from newrelic.common.object_wrapper import transient_function_wrapper
diff --git a/tests/testing_support/validators/validate_sql_obfuscation.py b/tests/testing_support/validators/validate_sql_obfuscation.py
index f608f053c8..3286220b9b 100644
--- a/tests/testing_support/validators/validate_sql_obfuscation.py
+++ b/tests/testing_support/validators/validate_sql_obfuscation.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import transient_function_wrapper, function_wrapper
diff --git a/tests/testing_support/validators/validate_transaction_count.py b/tests/testing_support/validators/validate_transaction_count.py
index c4eb49a1c2..65eaf65f76 100644
--- a/tests/testing_support/validators/validate_transaction_count.py
+++ b/tests/testing_support/validators/validate_transaction_count.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import (transient_function_wrapper,
function_wrapper)
diff --git a/tests/testing_support/validators/validate_transaction_slow_sql_count.py b/tests/testing_support/validators/validate_transaction_slow_sql_count.py
index 4115aa5eca..460201dabd 100644
--- a/tests/testing_support/validators/validate_transaction_slow_sql_count.py
+++ b/tests/testing_support/validators/validate_transaction_slow_sql_count.py
@@ -1,3 +1,17 @@
+# Copyright 2010 New Relic, Inc.
+#
+# 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.
+
from newrelic.common.object_wrapper import transient_function_wrapper
from newrelic.core.database_utils import SQLConnections