Skip to content

Commit bee0491

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "move all functional tests to tests module"
2 parents 0b20335 + c14d3ef commit bee0491

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)