ironic-ui/manage.py
Elizabeth Elwell 1063e15424 Plugin setup
This patch adds an empty Index view and basic test infrastructure,
including a basic test that verifies the panel has been correctly
registered with Horizon.

Following this patch, it is possible to install and register the Ironic
UI, and see the "Bare Metal Provisioning" panel under Horizon's Admin
dashboard.

Change-Id: I5efff7707fb44e6ba016d2aaaf3f46e1a9583084
Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com>
2016-02-01 13:15:11 +00:00

26 lines
872 B
Python
Executable File

#!/usr/bin/env python
# Copyright 2016 Cisco Systems, 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
import sys
from django.core.management import execute_from_command_line # noqa
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"ironic_ui.test.settings")
execute_from_command_line(sys.argv)