From cf3d00edd5183f2d4156e27e8782f89deb48e7bf Mon Sep 17 00:00:00 2001 From: Chris MacNaughton Date: Mon, 20 May 2019 08:30:51 +0200 Subject: [PATCH] Remove test that is being migrated upstream to zaza https://github.com/openstack-charmers/zaza/pull/238 --- zaza/openstack/charm_tests/noop/__init__.py | 15 ---------- zaza/openstack/charm_tests/noop/setup.py | 22 -------------- zaza/openstack/charm_tests/noop/tests.py | 33 --------------------- 3 files changed, 70 deletions(-) delete mode 100644 zaza/openstack/charm_tests/noop/__init__.py delete mode 100644 zaza/openstack/charm_tests/noop/setup.py delete mode 100644 zaza/openstack/charm_tests/noop/tests.py diff --git a/zaza/openstack/charm_tests/noop/__init__.py b/zaza/openstack/charm_tests/noop/__init__.py deleted file mode 100644 index 2a9f771..0000000 --- a/zaza/openstack/charm_tests/noop/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2018 Canonical Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Collection of code for validating Zaza.""" diff --git a/zaza/openstack/charm_tests/noop/setup.py b/zaza/openstack/charm_tests/noop/setup.py deleted file mode 100644 index 494b715..0000000 --- a/zaza/openstack/charm_tests/noop/setup.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2018 Canonical Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Code for validating Zaza configure function loader.""" - -import logging - - -def basic_setup(): - """Run setup.""" - logging.info('OK') diff --git a/zaza/openstack/charm_tests/noop/tests.py b/zaza/openstack/charm_tests/noop/tests.py deleted file mode 100644 index 1fb9b34..0000000 --- a/zaza/openstack/charm_tests/noop/tests.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python3 - -# Copyright 2018 Canonical Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Code for validating Zaza test class loader.""" - -import logging -import unittest - - -class NoopTest(unittest.TestCase): - """Code for validating Zaza test class loader.""" - - @classmethod - def setUpClass(cls): - """Run class setup for noop tests.""" - super(NoopTest, cls).setUpClass() - - def test_foo(self): - """foo.""" - logging.info('bar')