Files
fuel-devops/devops/models/__init__.py
Sebastian Kalinowski 8c26cab916 Add testing using py.test
* added py27 tox env to default env list
* added pytest and pytest-django as test requirements
* tests with database marked as expected to fail until DB will
  be configured correctly on CI
* fixed issues and fails in tests

Partial-Bug: #1462906
Change-Id: I4e37ca12c645950eedc9ced5b59daf1fd22005ee
2015-06-17 12:25:20 +02:00

25 lines
994 B
Python

# Copyright 2013 - 2015 Mirantis, Inc.
#
# 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
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "devops.settings")
from devops.models.environment import Environment
from devops.models.network import Address
from devops.models.network import DiskDevice
from devops.models.network import Interface
from devops.models.network import Network
from devops.models.node import Node
from devops.models.volume import Volume