Skip to content

Commit c14d3ef

Browse files
committed
move all functional tests to tests module
functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
1 parent 39839de commit c14d3ef

82 files changed

Lines changed: 138 additions & 95 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

functional/tests/volume/v1/__init__.py

Whitespace-only changes.

functional/tests/volume/v2/__init__.py

Whitespace-only changes.

functional/__init__.py renamed to openstackclient/tests/functional/__init__.py

File renamed without changes.

functional/common/__init__.py renamed to openstackclient/tests/functional/common/__init__.py

File renamed without changes.

functional/tests/common/test_availability_zone.py renamed to openstackclient/tests/functional/common/test_availability_zone.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
from functional.common import test
13+
from openstackclient.tests.functional import base
1414

1515

16-
class AvailabilityZoneTests(test.TestCase):
16+
class AvailabilityZoneTests(base.TestCase):
1717
"""Functional tests for availability zone. """
1818
HEADERS = ["'Zone Name'"]
1919
# So far, all components have the same default availability zone name.

functional/tests/common/test_configuration.py renamed to openstackclient/tests/functional/common/test_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212

1313
import os
1414

15-
from functional.common import test
1615
from openstackclient.common import configuration
16+
from openstackclient.tests.functional import base
1717

1818

1919
BASIC_CONFIG_HEADERS = ['Field', 'Value']
2020

2121

22-
class ConfigurationTests(test.TestCase):
22+
class ConfigurationTests(base.TestCase):
2323

2424
opts = "-f value -c auth.password"
2525

functional/tests/common/test_help.py renamed to openstackclient/tests/functional/common/test_help.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
from functional.common import test
13+
from openstackclient.tests.functional import base
1414

1515

16-
class HelpTests(test.TestCase):
16+
class HelpTests(base.TestCase):
1717
"""Functional tests for openstackclient help output."""
1818

1919
SERVER_COMMANDS = [

functional/tests/common/test_quota.py renamed to openstackclient/tests/functional/common/test_quota.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
from functional.common import test
13+
from openstackclient.tests.functional import base
1414

1515

16-
class QuotaTests(test.TestCase):
16+
class QuotaTests(base.TestCase):
1717
"""Functional tests for quota. """
1818
# Test quota information for compute, network and volume.
1919
EXPECTED_FIELDS = ['instances', 'networks', 'volumes']

functional/tests/__init__.py renamed to openstackclient/tests/functional/compute/__init__.py

File renamed without changes.

0 commit comments

Comments
 (0)