magnum/magnum/tests/unit/api/controllers/v1
Hua Wang a09ff4bc25 Remove circle reference
We can not import magnum.api.validation because of circle reference.

We can reproduce this bug by "tox -egenconfig" or importing
magnum.api.validation in a python console.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "magnum/api/validation.py", line 20, in <module>
    from magnum.api.controllers.v1 import utils as api_utils
  File "magnum/api/controllers/v1/__init__.py", line 30, in <module>
    from magnum.api.controllers.v1 import baymodel
  File "magnum/api/controllers/v1/baymodel.py", line 29, in <module>
    from magnum.api import validation
ImportError: cannot import name validation

Change-Id: Ib73d7f1d989b9bc860bfadafa52e9a83996f5de9
Closes-Bug: #1521840
2015-12-02 15:06:17 +08:00
..
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_base.py timeutils.utcnow should be used instead of datetime.datetime.utcnow 2015-11-05 13:04:00 +00:00
test_bay.py Validate keypair when create a bay 2015-11-30 16:18:31 +08:00
test_baymodel.py Add Magnum config for default network driver per COE 2015-11-13 03:22:08 +00:00
test_certificate.py Remove circle reference 2015-12-02 15:06:17 +08:00
test_container.py Add support to set env to a container 2015-11-28 11:53:00 +08:00
test_magnum_service.py Fix order of arguments in assertEqual 2015-10-10 14:24:44 +08:00
test_node.py Raise exception when adding an existed attribute while update bay 2015-11-03 17:16:40 +08:00
test_pod.py Raise exception when adding an existed attribute while update bay 2015-11-03 17:16:40 +08:00
test_replicationcontroller.py Objects from Bay - Replication Controller 2015-11-16 12:06:28 -08:00
test_service.py Objects from Bay - Services 2015-11-30 11:20:39 -08:00
test_types.py Fix order of arguments in assertEqual 2015-10-10 14:24:44 +08:00
test_utils.py Remove circle reference 2015-12-02 15:06:17 +08:00
test_x509keypair.py Fix order of arguments in assertEqual 2015-10-10 14:24:44 +08:00