From 6efda2aaf51a37d4bbf18fb84bc535eac0a59b76 Mon Sep 17 00:00:00 2001 From: Jose Idar Date: Tue, 14 Apr 2015 13:47:23 -0500 Subject: [PATCH] Updated license format to comply with openstack hacking guide Change-Id: I92d878bf795034f6eb4190ac45d98460a0827c21 --- cafe/__init__.py | 27 ++++++++---------- cafe/common/__init__.py | 15 ---------- cafe/common/reporting/__init__.py | 15 ---------- cafe/common/reporting/base_report.py | 26 ++++++++--------- cafe/common/reporting/cclogging.py | 26 ++++++++--------- cafe/common/reporting/json_report.py | 26 ++++++++--------- cafe/common/reporting/metrics.py | 27 ++++++++---------- cafe/common/reporting/reporter.py | 26 ++++++++--------- cafe/common/reporting/xml_report.py | 26 ++++++++--------- cafe/common/unicode.py | 13 +++++++++ cafe/configurator/__init__.py | 15 ---------- cafe/configurator/cli.py | 27 ++++++++---------- cafe/configurator/managers.py | 27 ++++++++---------- cafe/drivers/__init__.py | 15 ---------- cafe/drivers/base.py | 13 +++++++++ cafe/drivers/behave/__init__.py | 15 ---------- cafe/drivers/behave/runner.py | 27 ++++++++---------- cafe/drivers/lettuce/__init__.py | 15 ---------- cafe/drivers/pyvows/__init__.py | 15 ---------- cafe/drivers/pyvows/runner.py | 27 ++++++++---------- cafe/drivers/specter/__init__.py | 15 ---------- cafe/drivers/specter/runner.py | 27 ++++++++---------- cafe/drivers/unittest/__init__.py | 15 ---------- cafe/drivers/unittest/datasets.py | 27 ++++++++---------- cafe/drivers/unittest/decorators.py | 27 ++++++++---------- cafe/drivers/unittest/fixtures.py | 27 ++++++++---------- cafe/drivers/unittest/parsers.py | 27 ++++++++---------- cafe/drivers/unittest/runner.py | 28 ++++++++----------- cafe/drivers/unittest/suite.py | 13 +++++++++ cafe/engine/__init__.py | 15 ---------- cafe/engine/behaviors.py | 27 ++++++++---------- cafe/engine/clients/__init__.py | 15 ---------- cafe/engine/clients/base.py | 27 ++++++++---------- cafe/engine/clients/commandline.py | 27 ++++++++---------- cafe/engine/clients/ping.py | 27 ++++++++---------- cafe/engine/clients/sql.py | 27 ++++++++---------- cafe/engine/config.py | 27 ++++++++---------- cafe/engine/models/__init__.py | 15 ---------- cafe/engine/models/base.py | 27 ++++++++---------- cafe/engine/models/behavior_response.py | 27 ++++++++---------- cafe/engine/models/commandline_response.py | 27 ++++++++---------- cafe/engine/models/data_interfaces.py | 27 ++++++++---------- cafe/engine/provider.py | 27 ++++++++---------- cafe/resources/__init__.py | 15 ---------- plugins/__init__.py | 15 ---------- plugins/alt_ut_runner/cafe/__init__.py | 27 ++++++++---------- .../alt_ut_runner/cafe/drivers/__init__.py | 15 ---------- .../cafe/drivers/unittest/__init__.py | 15 ---------- .../cafe/drivers/unittest/arguments.py | 26 ++++++++--------- .../cafe/drivers/unittest/common.py | 26 ++++++++--------- .../cafe/drivers/unittest/datasets.py | 26 ++++++++--------- .../cafe/drivers/unittest/decorators.py | 27 ++++++++---------- .../cafe/drivers/unittest/fixtures.py | 28 +++++++++---------- .../cafe/drivers/unittest/parsers.py | 26 ++++++++--------- .../cafe/drivers/unittest/runner.py | 26 ++++++++--------- .../cafe/drivers/unittest/suite.py | 13 +++++++++ .../cafe/drivers/unittest/suite_builder.py | 26 ++++++++--------- plugins/alt_ut_runner/setup.py | 26 ++++++++--------- .../tests/drivers/unittest/test_arguments.py | 26 ++++++++--------- .../alt_ut_runner/tests/repo/cafe_tests.py | 26 ++++++++--------- plugins/elasticsearch/cafe/__init__.py | 27 ++++++++---------- plugins/elasticsearch/cafe/engine/__init__.py | 15 ---------- .../cafe/engine/clients/__init__.py | 15 ---------- .../cafe/engine/clients/elasticsearch.py | 26 ++++++++--------- plugins/elasticsearch/setup.py | 26 ++++++++--------- plugins/http/cafe/__init__.py | 27 ++++++++---------- plugins/http/cafe/engine/__init__.py | 15 ---------- plugins/http/cafe/engine/clients/__init__.py | 15 ---------- plugins/http/cafe/engine/clients/rest.py | 26 ++++++++--------- plugins/http/cafe/engine/http/__init__.py | 15 ---------- plugins/http/cafe/engine/http/behaviors.py | 27 ++++++++---------- plugins/http/cafe/engine/http/client.py | 27 ++++++++---------- plugins/http/setup.py | 26 ++++++++--------- plugins/http/tests/engine/__init__.py | 15 ---------- plugins/http/tests/engine/http/__init__.py | 15 ---------- .../http/tests/engine/http/test_behaviors.py | 27 ++++++++---------- plugins/mongo/cafe/__init__.py | 27 ++++++++---------- plugins/mongo/cafe/engine/__init__.py | 15 ---------- plugins/mongo/cafe/engine/clients/__init__.py | 15 ---------- plugins/mongo/cafe/engine/clients/mongo.py | 26 ++++++++--------- plugins/mongo/cafe/engine/mongo/__init__.py | 15 ---------- plugins/mongo/cafe/engine/mongo/client.py | 27 ++++++++---------- plugins/mongo/setup.py | 27 ++++++++---------- plugins/rsyslog/cafe/__init__.py | 27 ++++++++---------- plugins/rsyslog/cafe/resources/__init__.py | 15 ---------- .../cafe/resources/rsyslog/__init__.py | 15 ---------- .../rsyslog/cafe/resources/rsyslog/client.py | 26 ++++++++--------- plugins/rsyslog/setup.py | 26 ++++++++--------- plugins/rsyslog/tests/resources/__init__.py | 15 ---------- .../tests/resources/rsyslog/__init__.py | 15 ---------- .../tests/resources/rsyslog/test_client.py | 26 ++++++++--------- plugins/skip_on_issue/cafe/__init__.py | 26 ++++++++--------- .../skip_on_issue/cafe/drivers/__init__.py | 15 ---------- .../cafe/drivers/unittest/__init__.py | 15 ---------- .../cafe/drivers/unittest/issue.py | 26 ++++++++--------- .../skip_on_issue/cafe/resources/__init__.py | 15 ---------- .../cafe/resources/github/__init__.py | 15 ---------- .../cafe/resources/github/config.py | 27 ++++++++---------- .../cafe/resources/github/issue_tracker.py | 26 ++++++++--------- .../cafe/resources/jira/__init__.py | 15 ---------- .../cafe/resources/jira/config.py | 26 ++++++++--------- .../cafe/resources/jira/issue_tracker.py | 26 ++++++++--------- .../cafe/resources/launchpad/__init__.py | 15 ---------- .../cafe/resources/launchpad/config.py | 26 ++++++++--------- .../cafe/resources/launchpad/issue_tracker.py | 26 ++++++++--------- plugins/skip_on_issue/setup.py | 26 ++++++++--------- plugins/soap/cafe/__init__.py | 27 ++++++++---------- plugins/soap/cafe/engine/__init__.py | 15 ---------- plugins/soap/cafe/engine/soap/__init__.py | 15 ---------- plugins/soap/cafe/engine/soap/client.py | 27 ++++++++---------- plugins/soap/setup.py | 26 ++++++++--------- plugins/soap/tests/__init__.py | 15 ---------- plugins/soap/tests/engine/__init__.py | 15 ---------- plugins/soap/tests/engine/clients/__init__.py | 15 ---------- .../soap/tests/engine/clients/test_soap.py | 27 ++++++++---------- plugins/ssh/cafe/__init__.py | 26 ++++++++--------- plugins/ssh/cafe/engine/__init__.py | 15 ---------- plugins/ssh/cafe/engine/clients/__init__.py | 15 ---------- plugins/ssh/cafe/engine/clients/ssh.py | 27 ++++++++---------- plugins/ssh/cafe/engine/models/__init__.py | 15 ---------- .../ssh/cafe/engine/models/ssh_response.py | 27 ++++++++---------- plugins/ssh/cafe/engine/ssh/__init__.py | 15 ---------- plugins/ssh/cafe/engine/ssh/behaviors.py | 27 ++++++++---------- plugins/ssh/cafe/engine/ssh/client.py | 27 ++++++++---------- plugins/ssh/cafe/engine/ssh/config.py | 27 ++++++++---------- .../ssh/cafe/engine/ssh/models/__init__.py | 15 ---------- .../cafe/engine/ssh/models/ssh_response.py | 27 ++++++++---------- plugins/ssh/setup.py | 26 ++++++++--------- plugins/winrm/__init__.py | 15 ---------- plugins/winrm/cafe/__init__.py | 26 ++++++++--------- plugins/winrm/cafe/engine/__init__.py | 15 ---------- plugins/winrm/cafe/engine/clients/__init__.py | 15 ---------- .../winrm/cafe/engine/clients/winrm_client.py | 27 ++++++++---------- plugins/winrm/cafe/engine/winrm/__init__.py | 15 ---------- plugins/winrm/cafe/engine/winrm/client.py | 27 ++++++++---------- .../cafe/engine/winrm/models/__init__.py | 15 ---------- .../engine/winrm/models/winrm_response.py | 27 ++++++++---------- plugins/winrm/setup.py | 26 ++++++++--------- tests/__init__.py | 15 ---------- tests/common/__init__.py | 15 ---------- tests/common/reporting/__init__.py | 15 ---------- 141 files changed, 1049 insertions(+), 2021 deletions(-) diff --git a/cafe/__init__.py b/cafe/__init__.py index 4fbf9b4..88e8883 100644 --- a/cafe/__init__.py +++ b/cafe/__init__.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. __title__ = 'cafe' __author__ = 'Rackspace Cloud QE' diff --git a/cafe/common/__init__.py b/cafe/common/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/common/__init__.py +++ b/cafe/common/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/common/reporting/__init__.py b/cafe/common/reporting/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/common/reporting/__init__.py +++ b/cafe/common/reporting/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/common/reporting/base_report.py b/cafe/common/reporting/base_report.py index eeaf477..25c0f38 100644 --- a/cafe/common/reporting/base_report.py +++ b/cafe/common/reporting/base_report.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 abc import ABCMeta, abstractmethod from six import add_metaclass diff --git a/cafe/common/reporting/cclogging.py b/cafe/common/reporting/cclogging.py index c463623..5b9b77f 100644 --- a/cafe/common/reporting/cclogging.py +++ b/cafe/common/reporting/cclogging.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 logging import os diff --git a/cafe/common/reporting/json_report.py b/cafe/common/reporting/json_report.py index e97bd6b..bf954d0 100644 --- a/cafe/common/reporting/json_report.py +++ b/cafe/common/reporting/json_report.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 json diff --git a/cafe/common/reporting/metrics.py b/cafe/common/reporting/metrics.py index c8bb437..dd42a51 100644 --- a/cafe/common/reporting/metrics.py +++ b/cafe/common/reporting/metrics.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. """ @summary: Generic Classes for test statistics diff --git a/cafe/common/reporting/reporter.py b/cafe/common/reporting/reporter.py index ccd8b48..b7b7207 100644 --- a/cafe/common/reporting/reporter.py +++ b/cafe/common/reporting/reporter.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 cafe.common.reporting.json_report import JSONReport from cafe.common.reporting.xml_report import XMLReport diff --git a/cafe/common/reporting/xml_report.py b/cafe/common/reporting/xml_report.py index 34bc1a0..741e455 100644 --- a/cafe/common/reporting/xml_report.py +++ b/cafe/common/reporting/xml_report.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 xml.etree.ElementTree as ET diff --git a/cafe/common/unicode.py b/cafe/common/unicode.py index 22c6cc5..6380c0c 100644 --- a/cafe/common/unicode.py +++ b/cafe/common/unicode.py @@ -1,3 +1,16 @@ +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """ @see: http://en.wikipedia.org/wiki/Unicode#Architecture_and_terminology diff --git a/cafe/configurator/__init__.py b/cafe/configurator/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/configurator/__init__.py +++ b/cafe/configurator/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/configurator/cli.py b/cafe/configurator/cli.py index 8958914..9bdb010 100644 --- a/cafe/configurator/cli.py +++ b/cafe/configurator/cli.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 argparse from cafe.configurator.managers import ( diff --git a/cafe/configurator/managers.py b/cafe/configurator/managers.py index 9ba4e6b..eec1e06 100644 --- a/cafe/configurator/managers.py +++ b/cafe/configurator/managers.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 datetime import imp diff --git a/cafe/drivers/__init__.py b/cafe/drivers/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/drivers/__init__.py +++ b/cafe/drivers/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/drivers/base.py b/cafe/drivers/base.py index b3d0851..914e18e 100644 --- a/cafe/drivers/base.py +++ b/cafe/drivers/base.py @@ -1,3 +1,16 @@ +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 argparse import os from warnings import warn diff --git a/cafe/drivers/behave/__init__.py b/cafe/drivers/behave/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/drivers/behave/__init__.py +++ b/cafe/drivers/behave/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/drivers/behave/runner.py b/cafe/drivers/behave/runner.py index 7cd5817..3f862af 100644 --- a/cafe/drivers/behave/runner.py +++ b/cafe/drivers/behave/runner.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 argparse import os diff --git a/cafe/drivers/lettuce/__init__.py b/cafe/drivers/lettuce/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/drivers/lettuce/__init__.py +++ b/cafe/drivers/lettuce/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/drivers/pyvows/__init__.py b/cafe/drivers/pyvows/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/drivers/pyvows/__init__.py +++ b/cafe/drivers/pyvows/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/drivers/pyvows/runner.py b/cafe/drivers/pyvows/runner.py index 9f4ab3e..54d0559 100644 --- a/cafe/drivers/pyvows/runner.py +++ b/cafe/drivers/pyvows/runner.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 argparse import os diff --git a/cafe/drivers/specter/__init__.py b/cafe/drivers/specter/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/drivers/specter/__init__.py +++ b/cafe/drivers/specter/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/drivers/specter/runner.py b/cafe/drivers/specter/runner.py index 7f7e125..567e3f5 100644 --- a/cafe/drivers/specter/runner.py +++ b/cafe/drivers/specter/runner.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 argparse import os diff --git a/cafe/drivers/unittest/__init__.py b/cafe/drivers/unittest/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/drivers/unittest/__init__.py +++ b/cafe/drivers/unittest/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/drivers/unittest/datasets.py b/cafe/drivers/unittest/datasets.py index 8965674..e913f8b 100644 --- a/cafe/drivers/unittest/datasets.py +++ b/cafe/drivers/unittest/datasets.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 itertools import product import json diff --git a/cafe/drivers/unittest/decorators.py b/cafe/drivers/unittest/decorators.py index 54cc60a..7b68630 100644 --- a/cafe/drivers/unittest/decorators.py +++ b/cafe/drivers/unittest/decorators.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 re diff --git a/cafe/drivers/unittest/fixtures.py b/cafe/drivers/unittest/fixtures.py index 6b263e3..0018baf 100644 --- a/cafe/drivers/unittest/fixtures.py +++ b/cafe/drivers/unittest/fixtures.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. """ @summary: Base Classes for Test Fixtures diff --git a/cafe/drivers/unittest/parsers.py b/cafe/drivers/unittest/parsers.py index 5d8fab9..952d0ce 100644 --- a/cafe/drivers/unittest/parsers.py +++ b/cafe/drivers/unittest/parsers.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. class SummarizeResults(object): diff --git a/cafe/drivers/unittest/runner.py b/cafe/drivers/unittest/runner.py index 99b3272..fded772 100755 --- a/cafe/drivers/unittest/runner.py +++ b/cafe/drivers/unittest/runner.py @@ -1,19 +1,15 @@ -#!/usr/bin/env python -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 argparse import os diff --git a/cafe/drivers/unittest/suite.py b/cafe/drivers/unittest/suite.py index 409c5bd..c8d4232 100644 --- a/cafe/drivers/unittest/suite.py +++ b/cafe/drivers/unittest/suite.py @@ -1,3 +1,16 @@ +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """ Contains a monkeypatched version of unittest's TestSuite class that supports a version of addCleanup that can be used in classmethods. This allows a diff --git a/cafe/engine/__init__.py b/cafe/engine/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/engine/__init__.py +++ b/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/engine/behaviors.py b/cafe/engine/behaviors.py index 84a269f..fe89b24 100644 --- a/cafe/engine/behaviors.py +++ b/cafe/engine/behaviors.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.common.reporting import cclogging diff --git a/cafe/engine/clients/__init__.py b/cafe/engine/clients/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/engine/clients/__init__.py +++ b/cafe/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/engine/clients/base.py b/cafe/engine/clients/base.py index 140cbce..eb31747 100644 --- a/cafe/engine/clients/base.py +++ b/cafe/engine/clients/base.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.common.reporting import cclogging diff --git a/cafe/engine/clients/commandline.py b/cafe/engine/clients/commandline.py index 7f304e9..be26ecc 100644 --- a/cafe/engine/clients/commandline.py +++ b/cafe/engine/clients/commandline.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. """Provides low level connectivity to the commandline via popen() @note: Primarily intended to serve as base classes for a specific diff --git a/cafe/engine/clients/ping.py b/cafe/engine/clients/ping.py index 15200f6..9ab00f6 100644 --- a/cafe/engine/clients/ping.py +++ b/cafe/engine/clients/ping.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 platform import re diff --git a/cafe/engine/clients/sql.py b/cafe/engine/clients/sql.py index 9f3c660..55ec09e 100644 --- a/cafe/engine/clients/sql.py +++ b/cafe/engine/clients/sql.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.engine.clients.base import BaseClient from cafe.common.reporting import cclogging diff --git a/cafe/engine/config.py b/cafe/engine/config.py index 5c9965f..3adc7da 100644 --- a/cafe/engine/config.py +++ b/cafe/engine/config.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.engine.models.data_interfaces import ( ConfigSectionInterface, _get_path_from_env) diff --git a/cafe/engine/models/__init__.py b/cafe/engine/models/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/engine/models/__init__.py +++ b/cafe/engine/models/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/cafe/engine/models/base.py b/cafe/engine/models/base.py index da823fd..f9d6881 100644 --- a/cafe/engine/models/base.py +++ b/cafe/engine/models/base.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.common.reporting import cclogging import six diff --git a/cafe/engine/models/behavior_response.py b/cafe/engine/models/behavior_response.py index cde28aa..06feffe 100644 --- a/cafe/engine/models/behavior_response.py +++ b/cafe/engine/models/behavior_response.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. class BehaviorResponse(object): diff --git a/cafe/engine/models/commandline_response.py b/cafe/engine/models/commandline_response.py index 258b721..3a2ec57 100644 --- a/cafe/engine/models/commandline_response.py +++ b/cafe/engine/models/commandline_response.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. ''' @summary: Responses directly from the command line diff --git a/cafe/engine/models/data_interfaces.py b/cafe/engine/models/data_interfaces.py index 57d8eec..205c5ff 100644 --- a/cafe/engine/models/data_interfaces.py +++ b/cafe/engine/models/data_interfaces.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 abc import json diff --git a/cafe/engine/provider.py b/cafe/engine/provider.py index 2720059..75bf88d 100644 --- a/cafe/engine/provider.py +++ b/cafe/engine/provider.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.common.reporting import cclogging diff --git a/cafe/resources/__init__.py b/cafe/resources/__init__.py index 59ab77f..e69de29 100644 --- a/cafe/resources/__init__.py +++ b/cafe/resources/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/__init__.py b/plugins/__init__.py index 14b45c9..e69de29 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/alt_ut_runner/cafe/__init__.py b/plugins/alt_ut_runner/cafe/__init__.py index 4991d21..d3e89f9 100644 --- a/plugins/alt_ut_runner/cafe/__init__.py +++ b/plugins/alt_ut_runner/cafe/__init__.py @@ -1,16 +1,13 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/alt_ut_runner/cafe/drivers/__init__.py b/plugins/alt_ut_runner/cafe/drivers/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/alt_ut_runner/cafe/drivers/__init__.py +++ b/plugins/alt_ut_runner/cafe/drivers/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/__init__.py b/plugins/alt_ut_runner/cafe/drivers/unittest/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/__init__.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/arguments.py b/plugins/alt_ut_runner/cafe/drivers/unittest/arguments.py index be3415e..eef620a 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/arguments.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/arguments.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 argparse diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/common.py b/plugins/alt_ut_runner/cafe/drivers/unittest/common.py index 3bb76e1..5cf6432 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/common.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/common.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 sys from traceback import print_exc diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/datasets.py b/plugins/alt_ut_runner/cafe/drivers/unittest/datasets.py index b377012..8dba9e9 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/datasets.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/datasets.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 itertools import product from string import ascii_letters, digits import json diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/decorators.py b/plugins/alt_ut_runner/cafe/drivers/unittest/decorators.py index f60d950..c7bc9e4 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/decorators.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/decorators.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 re diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/fixtures.py b/plugins/alt_ut_runner/cafe/drivers/unittest/fixtures.py index 186e8bd..cdcfd66 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/fixtures.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/fixtures.py @@ -1,19 +1,17 @@ +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """ -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - - @summary: Base Classes for Test Fixtures @note: Corresponds DIRECTLY TO A unittest.TestCase @see: http://docs.python.org/library/unittest.html#unittest.TestCase diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/parsers.py b/plugins/alt_ut_runner/cafe/drivers/unittest/parsers.py index da09251..325740f 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/parsers.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/parsers.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 unittest.suite import _ErrorHolder import json diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/runner.py b/plugins/alt_ut_runner/cafe/drivers/unittest/runner.py index cba992b..5e75899 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/runner.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/runner.py @@ -1,19 +1,17 @@ #!/usr/bin/env python -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 from multiprocessing import Process, Queue, active_children diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/suite.py b/plugins/alt_ut_runner/cafe/drivers/unittest/suite.py index 409c5bd..c8d4232 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/suite.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/suite.py @@ -1,3 +1,16 @@ +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """ Contains a monkeypatched version of unittest's TestSuite class that supports a version of addCleanup that can be used in classmethods. This allows a diff --git a/plugins/alt_ut_runner/cafe/drivers/unittest/suite_builder.py b/plugins/alt_ut_runner/cafe/drivers/unittest/suite_builder.py index 285c762..b78ec8c 100644 --- a/plugins/alt_ut_runner/cafe/drivers/unittest/suite_builder.py +++ b/plugins/alt_ut_runner/cafe/drivers/unittest/suite_builder.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 from inspect import isclass, ismethod diff --git a/plugins/alt_ut_runner/setup.py b/plugins/alt_ut_runner/setup.py index 4ae3aae..e63931f 100644 --- a/plugins/alt_ut_runner/setup.py +++ b/plugins/alt_ut_runner/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages from setuptools.command.test import test as TestCommand diff --git a/plugins/alt_ut_runner/tests/drivers/unittest/test_arguments.py b/plugins/alt_ut_runner/tests/drivers/unittest/test_arguments.py index bb93d0c..1070fdb 100644 --- a/plugins/alt_ut_runner/tests/drivers/unittest/test_arguments.py +++ b/plugins/alt_ut_runner/tests/drivers/unittest/test_arguments.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 unittest diff --git a/plugins/alt_ut_runner/tests/repo/cafe_tests.py b/plugins/alt_ut_runner/tests/repo/cafe_tests.py index f893102..13cd7b8 100644 --- a/plugins/alt_ut_runner/tests/repo/cafe_tests.py +++ b/plugins/alt_ut_runner/tests/repo/cafe_tests.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 time import sleep from cafe.drivers.unittest.decorators import ( tags, DataDrivenFixture, data_driven_test, DataDrivenClass) diff --git a/plugins/elasticsearch/cafe/__init__.py b/plugins/elasticsearch/cafe/__init__.py index 4991d21..d3e89f9 100644 --- a/plugins/elasticsearch/cafe/__init__.py +++ b/plugins/elasticsearch/cafe/__init__.py @@ -1,16 +1,13 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/elasticsearch/cafe/engine/__init__.py b/plugins/elasticsearch/cafe/engine/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/elasticsearch/cafe/engine/__init__.py +++ b/plugins/elasticsearch/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/elasticsearch/cafe/engine/clients/__init__.py b/plugins/elasticsearch/cafe/engine/clients/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/elasticsearch/cafe/engine/clients/__init__.py +++ b/plugins/elasticsearch/cafe/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/elasticsearch/cafe/engine/clients/elasticsearch.py b/plugins/elasticsearch/cafe/engine/clients/elasticsearch.py index f4100a8..b3f83a6 100644 --- a/plugins/elasticsearch/cafe/engine/clients/elasticsearch.py +++ b/plugins/elasticsearch/cafe/engine/clients/elasticsearch.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 time import sleep from pyes import ES diff --git a/plugins/elasticsearch/setup.py b/plugins/elasticsearch/setup.py index 3288db9..7bce6d8 100644 --- a/plugins/elasticsearch/setup.py +++ b/plugins/elasticsearch/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages setup( diff --git a/plugins/http/cafe/__init__.py b/plugins/http/cafe/__init__.py index 4991d21..d3e89f9 100644 --- a/plugins/http/cafe/__init__.py +++ b/plugins/http/cafe/__init__.py @@ -1,16 +1,13 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/http/cafe/engine/__init__.py b/plugins/http/cafe/engine/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/http/cafe/engine/__init__.py +++ b/plugins/http/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/http/cafe/engine/clients/__init__.py b/plugins/http/cafe/engine/clients/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/http/cafe/engine/clients/__init__.py +++ b/plugins/http/cafe/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/http/cafe/engine/clients/rest.py b/plugins/http/cafe/engine/clients/rest.py index e206ee3..6ef92fe 100644 --- a/plugins/http/cafe/engine/clients/rest.py +++ b/plugins/http/cafe/engine/clients/rest.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 warnings import warn, simplefilter simplefilter("default", DeprecationWarning) warn("cafe.engine.clients.rest has been moved to cafe.engine.http.client", diff --git a/plugins/http/cafe/engine/http/__init__.py b/plugins/http/cafe/engine/http/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/http/cafe/engine/http/__init__.py +++ b/plugins/http/cafe/engine/http/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/http/cafe/engine/http/behaviors.py b/plugins/http/cafe/engine/http/behaviors.py index 4b7c48e..8ebc553 100644 --- a/plugins/http/cafe/engine/http/behaviors.py +++ b/plugins/http/cafe/engine/http/behaviors.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 get_range_data(data, bytes_): diff --git a/plugins/http/cafe/engine/http/client.py b/plugins/http/cafe/engine/http/client.py index fd904f2..c17606a 100644 --- a/plugins/http/cafe/engine/http/client.py +++ b/plugins/http/cafe/engine/http/client.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 requests import six diff --git a/plugins/http/setup.py b/plugins/http/setup.py index a367213..954660e 100644 --- a/plugins/http/setup.py +++ b/plugins/http/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages import sys from setuptools.command.test import test as TestCommand diff --git a/plugins/http/tests/engine/__init__.py b/plugins/http/tests/engine/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/http/tests/engine/__init__.py +++ b/plugins/http/tests/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/http/tests/engine/http/__init__.py b/plugins/http/tests/engine/http/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/http/tests/engine/http/__init__.py +++ b/plugins/http/tests/engine/http/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/http/tests/engine/http/test_behaviors.py b/plugins/http/tests/engine/http/test_behaviors.py index e0e94fc..8f2ab9d 100644 --- a/plugins/http/tests/engine/http/test_behaviors.py +++ b/plugins/http/tests/engine/http/test_behaviors.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 unittest diff --git a/plugins/mongo/cafe/__init__.py b/plugins/mongo/cafe/__init__.py index 4991d21..d3e89f9 100644 --- a/plugins/mongo/cafe/__init__.py +++ b/plugins/mongo/cafe/__init__.py @@ -1,16 +1,13 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/mongo/cafe/engine/__init__.py b/plugins/mongo/cafe/engine/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/mongo/cafe/engine/__init__.py +++ b/plugins/mongo/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/mongo/cafe/engine/clients/__init__.py b/plugins/mongo/cafe/engine/clients/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/mongo/cafe/engine/clients/__init__.py +++ b/plugins/mongo/cafe/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/mongo/cafe/engine/clients/mongo.py b/plugins/mongo/cafe/engine/clients/mongo.py index 3150436..d6a9967 100644 --- a/plugins/mongo/cafe/engine/clients/mongo.py +++ b/plugins/mongo/cafe/engine/clients/mongo.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 warnings import warn, simplefilter simplefilter("default", DeprecationWarning) warn("cafe.engine.clients.mongo has been moved to cafe.engine.mongo.client", diff --git a/plugins/mongo/cafe/engine/mongo/__init__.py b/plugins/mongo/cafe/engine/mongo/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/mongo/cafe/engine/mongo/__init__.py +++ b/plugins/mongo/cafe/engine/mongo/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/mongo/cafe/engine/mongo/client.py b/plugins/mongo/cafe/engine/mongo/client.py index 39f8008..0fb238a 100644 --- a/plugins/mongo/cafe/engine/mongo/client.py +++ b/plugins/mongo/cafe/engine/mongo/client.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 from pymongo import MongoClient diff --git a/plugins/mongo/setup.py b/plugins/mongo/setup.py index d85f4e2..dabd5f4 100644 --- a/plugins/mongo/setup.py +++ b/plugins/mongo/setup.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 setuptools import setup, find_packages setup( diff --git a/plugins/rsyslog/cafe/__init__.py b/plugins/rsyslog/cafe/__init__.py index 4991d21..d3e89f9 100644 --- a/plugins/rsyslog/cafe/__init__.py +++ b/plugins/rsyslog/cafe/__init__.py @@ -1,16 +1,13 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/rsyslog/cafe/resources/__init__.py b/plugins/rsyslog/cafe/resources/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/rsyslog/cafe/resources/__init__.py +++ b/plugins/rsyslog/cafe/resources/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/rsyslog/cafe/resources/rsyslog/__init__.py b/plugins/rsyslog/cafe/resources/rsyslog/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/rsyslog/cafe/resources/rsyslog/__init__.py +++ b/plugins/rsyslog/cafe/resources/rsyslog/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/rsyslog/cafe/resources/rsyslog/client.py b/plugins/rsyslog/cafe/resources/rsyslog/client.py index 2c355f6..b71717e 100644 --- a/plugins/rsyslog/cafe/resources/rsyslog/client.py +++ b/plugins/rsyslog/cafe/resources/rsyslog/client.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 from portal.input.syslog.usyslog import SyslogMessageHead diff --git a/plugins/rsyslog/setup.py b/plugins/rsyslog/setup.py index cf9fae3..d850992 100644 --- a/plugins/rsyslog/setup.py +++ b/plugins/rsyslog/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages import sys from setuptools.command.test import test as TestCommand diff --git a/plugins/rsyslog/tests/resources/__init__.py b/plugins/rsyslog/tests/resources/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/rsyslog/tests/resources/__init__.py +++ b/plugins/rsyslog/tests/resources/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/rsyslog/tests/resources/rsyslog/__init__.py b/plugins/rsyslog/tests/resources/rsyslog/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/rsyslog/tests/resources/rsyslog/__init__.py +++ b/plugins/rsyslog/tests/resources/rsyslog/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/rsyslog/tests/resources/rsyslog/test_client.py b/plugins/rsyslog/tests/resources/rsyslog/test_client.py index 9f47a8a..dd4e69a 100644 --- a/plugins/rsyslog/tests/resources/rsyslog/test_client.py +++ b/plugins/rsyslog/tests/resources/rsyslog/test_client.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 unittest import TestCase from cafe.resources.rsyslog.client import RSyslogClient, MessageHandler diff --git a/plugins/skip_on_issue/cafe/__init__.py b/plugins/skip_on_issue/cafe/__init__.py index 4991d21..57c0952 100644 --- a/plugins/skip_on_issue/cafe/__init__.py +++ b/plugins/skip_on_issue/cafe/__init__.py @@ -1,16 +1,14 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/skip_on_issue/cafe/drivers/__init__.py b/plugins/skip_on_issue/cafe/drivers/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/skip_on_issue/cafe/drivers/__init__.py +++ b/plugins/skip_on_issue/cafe/drivers/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/skip_on_issue/cafe/drivers/unittest/__init__.py b/plugins/skip_on_issue/cafe/drivers/unittest/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/skip_on_issue/cafe/drivers/unittest/__init__.py +++ b/plugins/skip_on_issue/cafe/drivers/unittest/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/skip_on_issue/cafe/drivers/unittest/issue.py b/plugins/skip_on_issue/cafe/drivers/unittest/issue.py index 9471f33..47c2a47 100644 --- a/plugins/skip_on_issue/cafe/drivers/unittest/issue.py +++ b/plugins/skip_on_issue/cafe/drivers/unittest/issue.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 unittest import skip from cafe.resources.github.issue_tracker import GitHubTracker diff --git a/plugins/skip_on_issue/cafe/resources/__init__.py b/plugins/skip_on_issue/cafe/resources/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/skip_on_issue/cafe/resources/__init__.py +++ b/plugins/skip_on_issue/cafe/resources/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/skip_on_issue/cafe/resources/github/__init__.py b/plugins/skip_on_issue/cafe/resources/github/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/skip_on_issue/cafe/resources/github/__init__.py +++ b/plugins/skip_on_issue/cafe/resources/github/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/skip_on_issue/cafe/resources/github/config.py b/plugins/skip_on_issue/cafe/resources/github/config.py index 23d1fb2..c651453 100644 --- a/plugins/skip_on_issue/cafe/resources/github/config.py +++ b/plugins/skip_on_issue/cafe/resources/github/config.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.engine.models.data_interfaces import ConfigSectionInterface diff --git a/plugins/skip_on_issue/cafe/resources/github/issue_tracker.py b/plugins/skip_on_issue/cafe/resources/github/issue_tracker.py index 2dac168..e71b976 100644 --- a/plugins/skip_on_issue/cafe/resources/github/issue_tracker.py +++ b/plugins/skip_on_issue/cafe/resources/github/issue_tracker.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 from cafe.resources.github.config import GitHubConfig diff --git a/plugins/skip_on_issue/cafe/resources/jira/__init__.py b/plugins/skip_on_issue/cafe/resources/jira/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/skip_on_issue/cafe/resources/jira/__init__.py +++ b/plugins/skip_on_issue/cafe/resources/jira/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/skip_on_issue/cafe/resources/jira/config.py b/plugins/skip_on_issue/cafe/resources/jira/config.py index a7f1008..6cab569 100644 --- a/plugins/skip_on_issue/cafe/resources/jira/config.py +++ b/plugins/skip_on_issue/cafe/resources/jira/config.py @@ -1,18 +1,16 @@ -""" -Copyright 2014 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 logging diff --git a/plugins/skip_on_issue/cafe/resources/jira/issue_tracker.py b/plugins/skip_on_issue/cafe/resources/jira/issue_tracker.py index 325e923..899608e 100644 --- a/plugins/skip_on_issue/cafe/resources/jira/issue_tracker.py +++ b/plugins/skip_on_issue/cafe/resources/jira/issue_tracker.py @@ -1,18 +1,16 @@ -""" -Copyright 2014 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 from cafe.resources.jira.config import JiraTrackerConfig diff --git a/plugins/skip_on_issue/cafe/resources/launchpad/__init__.py b/plugins/skip_on_issue/cafe/resources/launchpad/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/skip_on_issue/cafe/resources/launchpad/__init__.py +++ b/plugins/skip_on_issue/cafe/resources/launchpad/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/skip_on_issue/cafe/resources/launchpad/config.py b/plugins/skip_on_issue/cafe/resources/launchpad/config.py index 459b853..51f0e54 100644 --- a/plugins/skip_on_issue/cafe/resources/launchpad/config.py +++ b/plugins/skip_on_issue/cafe/resources/launchpad/config.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 cafe.engine.models.data_interfaces import ConfigSectionInterface diff --git a/plugins/skip_on_issue/cafe/resources/launchpad/issue_tracker.py b/plugins/skip_on_issue/cafe/resources/launchpad/issue_tracker.py index 6ebb4b5..13aaf99 100644 --- a/plugins/skip_on_issue/cafe/resources/launchpad/issue_tracker.py +++ b/plugins/skip_on_issue/cafe/resources/launchpad/issue_tracker.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 from cafe.resources.launchpad.config import LaunchpadTrackerConfig diff --git a/plugins/skip_on_issue/setup.py b/plugins/skip_on_issue/setup.py index e5bb382..b6cb2f0 100644 --- a/plugins/skip_on_issue/setup.py +++ b/plugins/skip_on_issue/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages setup( diff --git a/plugins/soap/cafe/__init__.py b/plugins/soap/cafe/__init__.py index 7543775..d3e89f9 100644 --- a/plugins/soap/cafe/__init__.py +++ b/plugins/soap/cafe/__init__.py @@ -1,16 +1,13 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/soap/cafe/engine/__init__.py b/plugins/soap/cafe/engine/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/soap/cafe/engine/__init__.py +++ b/plugins/soap/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/soap/cafe/engine/soap/__init__.py b/plugins/soap/cafe/engine/soap/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/soap/cafe/engine/soap/__init__.py +++ b/plugins/soap/cafe/engine/soap/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/soap/cafe/engine/soap/client.py b/plugins/soap/cafe/engine/soap/client.py index 07a1e3a..70c6cf1 100644 --- a/plugins/soap/cafe/engine/soap/client.py +++ b/plugins/soap/cafe/engine/soap/client.py @@ -1,18 +1,15 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 suds diff --git a/plugins/soap/setup.py b/plugins/soap/setup.py index 9a7cad1..e3a8c91 100644 --- a/plugins/soap/setup.py +++ b/plugins/soap/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages import sys from setuptools.command.test import test as TestCommand diff --git a/plugins/soap/tests/__init__.py b/plugins/soap/tests/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/soap/tests/__init__.py +++ b/plugins/soap/tests/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/soap/tests/engine/__init__.py b/plugins/soap/tests/engine/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/soap/tests/engine/__init__.py +++ b/plugins/soap/tests/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/soap/tests/engine/clients/__init__.py b/plugins/soap/tests/engine/clients/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/soap/tests/engine/clients/__init__.py +++ b/plugins/soap/tests/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/soap/tests/engine/clients/test_soap.py b/plugins/soap/tests/engine/clients/test_soap.py index 38e55d6..be58dce 100644 --- a/plugins/soap/tests/engine/clients/test_soap.py +++ b/plugins/soap/tests/engine/clients/test_soap.py @@ -1,18 +1,15 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 mock import MagicMock import unittest diff --git a/plugins/ssh/cafe/__init__.py b/plugins/ssh/cafe/__init__.py index 4991d21..57c0952 100644 --- a/plugins/ssh/cafe/__init__.py +++ b/plugins/ssh/cafe/__init__.py @@ -1,16 +1,14 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/ssh/cafe/engine/__init__.py b/plugins/ssh/cafe/engine/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/ssh/cafe/engine/__init__.py +++ b/plugins/ssh/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/ssh/cafe/engine/clients/__init__.py b/plugins/ssh/cafe/engine/clients/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/ssh/cafe/engine/clients/__init__.py +++ b/plugins/ssh/cafe/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/ssh/cafe/engine/clients/ssh.py b/plugins/ssh/cafe/engine/clients/ssh.py index 1d92a29..9e0eafb 100644 --- a/plugins/ssh/cafe/engine/clients/ssh.py +++ b/plugins/ssh/cafe/engine/clients/ssh.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 warnings import warn, simplefilter simplefilter("default", DeprecationWarning) diff --git a/plugins/ssh/cafe/engine/models/__init__.py b/plugins/ssh/cafe/engine/models/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/ssh/cafe/engine/models/__init__.py +++ b/plugins/ssh/cafe/engine/models/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/ssh/cafe/engine/models/ssh_response.py b/plugins/ssh/cafe/engine/models/ssh_response.py index 20402c5..212736e 100644 --- a/plugins/ssh/cafe/engine/models/ssh_response.py +++ b/plugins/ssh/cafe/engine/models/ssh_response.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 warnings import warn, simplefilter simplefilter("default", DeprecationWarning) diff --git a/plugins/ssh/cafe/engine/ssh/__init__.py b/plugins/ssh/cafe/engine/ssh/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/ssh/cafe/engine/ssh/__init__.py +++ b/plugins/ssh/cafe/engine/ssh/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/ssh/cafe/engine/ssh/behaviors.py b/plugins/ssh/cafe/engine/ssh/behaviors.py index fce3474..28b2a52 100644 --- a/plugins/ssh/cafe/engine/ssh/behaviors.py +++ b/plugins/ssh/cafe/engine/ssh/behaviors.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 Crypto.PublicKey import RSA diff --git a/plugins/ssh/cafe/engine/ssh/client.py b/plugins/ssh/cafe/engine/ssh/client.py index cc536f2..920f953 100644 --- a/plugins/ssh/cafe/engine/ssh/client.py +++ b/plugins/ssh/cafe/engine/ssh/client.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 io diff --git a/plugins/ssh/cafe/engine/ssh/config.py b/plugins/ssh/cafe/engine/ssh/config.py index 09e7407..b4b5432 100644 --- a/plugins/ssh/cafe/engine/ssh/config.py +++ b/plugins/ssh/cafe/engine/ssh/config.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 diff --git a/plugins/ssh/cafe/engine/ssh/models/__init__.py b/plugins/ssh/cafe/engine/ssh/models/__init__.py index 59ab77f..e69de29 100644 --- a/plugins/ssh/cafe/engine/ssh/models/__init__.py +++ b/plugins/ssh/cafe/engine/ssh/models/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/ssh/cafe/engine/ssh/models/ssh_response.py b/plugins/ssh/cafe/engine/ssh/models/ssh_response.py index a245821..af52570 100644 --- a/plugins/ssh/cafe/engine/ssh/models/ssh_response.py +++ b/plugins/ssh/cafe/engine/ssh/models/ssh_response.py @@ -1,18 +1,15 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 cafe.engine.models.base import BaseModel diff --git a/plugins/ssh/setup.py b/plugins/ssh/setup.py index 332063a..a5fe90a 100644 --- a/plugins/ssh/setup.py +++ b/plugins/ssh/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2013 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages setup( diff --git a/plugins/winrm/__init__.py b/plugins/winrm/__init__.py index 14b45c9..e69de29 100644 --- a/plugins/winrm/__init__.py +++ b/plugins/winrm/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/winrm/cafe/__init__.py b/plugins/winrm/cafe/__init__.py index 597a230..57c0952 100644 --- a/plugins/winrm/cafe/__init__.py +++ b/plugins/winrm/cafe/__init__.py @@ -1,16 +1,14 @@ -""" -Copyright 2015 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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__('pkg_resources').declare_namespace(__name__) diff --git a/plugins/winrm/cafe/engine/__init__.py b/plugins/winrm/cafe/engine/__init__.py index 14b45c9..e69de29 100644 --- a/plugins/winrm/cafe/engine/__init__.py +++ b/plugins/winrm/cafe/engine/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/winrm/cafe/engine/clients/__init__.py b/plugins/winrm/cafe/engine/clients/__init__.py index 52e3d4c..e69de29 100644 --- a/plugins/winrm/cafe/engine/clients/__init__.py +++ b/plugins/winrm/cafe/engine/clients/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/winrm/cafe/engine/clients/winrm_client.py b/plugins/winrm/cafe/engine/clients/winrm_client.py index 0fe1474..58983eb 100644 --- a/plugins/winrm/cafe/engine/clients/winrm_client.py +++ b/plugins/winrm/cafe/engine/clients/winrm_client.py @@ -1,18 +1,15 @@ -""" -Copyright 2014 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 warnings import warn, simplefilter simplefilter("default", DeprecationWarning) diff --git a/plugins/winrm/cafe/engine/winrm/__init__.py b/plugins/winrm/cafe/engine/winrm/__init__.py index 14b45c9..e69de29 100644 --- a/plugins/winrm/cafe/engine/winrm/__init__.py +++ b/plugins/winrm/cafe/engine/winrm/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/winrm/cafe/engine/winrm/client.py b/plugins/winrm/cafe/engine/winrm/client.py index 5896846..6c5d41a 100644 --- a/plugins/winrm/cafe/engine/winrm/client.py +++ b/plugins/winrm/cafe/engine/winrm/client.py @@ -1,18 +1,15 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 diff --git a/plugins/winrm/cafe/engine/winrm/models/__init__.py b/plugins/winrm/cafe/engine/winrm/models/__init__.py index 14b45c9..e69de29 100644 --- a/plugins/winrm/cafe/engine/winrm/models/__init__.py +++ b/plugins/winrm/cafe/engine/winrm/models/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/plugins/winrm/cafe/engine/winrm/models/winrm_response.py b/plugins/winrm/cafe/engine/winrm/models/winrm_response.py index 80e9337..7b4bf9e 100644 --- a/plugins/winrm/cafe/engine/winrm/models/winrm_response.py +++ b/plugins/winrm/cafe/engine/winrm/models/winrm_response.py @@ -1,18 +1,15 @@ -""" -Copyright 2015 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. class WinRMResponse(object): diff --git a/plugins/winrm/setup.py b/plugins/winrm/setup.py index 908a698..b978718 100644 --- a/plugins/winrm/setup.py +++ b/plugins/winrm/setup.py @@ -1,18 +1,16 @@ -""" -Copyright 2014 Rackspace +# Copyright 2015 Rackspace +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT 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 setuptools import setup, find_packages setup( diff --git a/tests/__init__.py b/tests/__init__.py index 59ab77f..e69de29 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/tests/common/__init__.py b/tests/common/__init__.py index 59ab77f..e69de29 100644 --- a/tests/common/__init__.py +++ b/tests/common/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/tests/common/reporting/__init__.py b/tests/common/reporting/__init__.py index 59ab77f..e69de29 100644 --- a/tests/common/reporting/__init__.py +++ b/tests/common/reporting/__init__.py @@ -1,15 +0,0 @@ -""" -Copyright 2013 Rackspace - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -"""