Renamed all references to 'ipa_webui' to 'ipawebui'

This commit is contained in:
Jason Gerard DeRose 2009-01-04 19:45:53 -07:00
parent 7442ad2e27
commit 5c47261df5
6 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
include LICENSE TODO lite-webui.py lite-xmlrpc.py include LICENSE TODO lite-webui.py lite-xmlrpc.py
graft tests/ graft tests/
graft ipa_webui/static/ graft ipawebui/static/
include ipa_webui/templates/*.kid include ipawebui/templates/*.kid

View File

@ -24,8 +24,8 @@ In-tree Web UI using cherrypy.
""" """
from cherrypy import expose, config, quickstart from cherrypy import expose, config, quickstart
from ipa_webui.templates import form, main from ipawebui.templates import form, main
from ipa_webui import controller from ipawebui import controller
from ipalib import api from ipalib import api
api.load_plugins() api.load_plugins()

View File

@ -2,7 +2,7 @@
# Hackish script to generate documentation using epydoc # Hackish script to generate documentation using epydoc
sources="ipalib ipa_server ipa_webui tests lite-xmlrpc.py lite-webui.py" sources="ipalib ipaserver ipawebui tests"
out="./freeipa2-dev-doc" out="./freeipa2-dev-doc"
init="./ipalib/__init__.py" init="./ipalib/__init__.py"

View File

@ -35,12 +35,12 @@ setup(
'ipalib.plugins', 'ipalib.plugins',
'ipaserver', 'ipaserver',
'ipaserver.plugins', 'ipaserver.plugins',
'ipa_webui', 'ipawebui',
'ipa_webui.templates', 'ipawebui.templates',
], ],
package_data={ package_data={
'ipa_webui.templates': ['*.kid'], 'ipawebui.templates': ['*.kid'],
'ipa_webui': ['static/*'], 'ipawebui': ['static/*'],
}, },
scripts=['ipa'], scripts=['ipa'],
) )

View File

@ -17,5 +17,5 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
""" """
Sub-package containing unit tests for `ipa_webui` package. Sub-package containing unit tests for `ipawebui` package.
""" """

View File

@ -17,10 +17,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
""" """
Test the `ipa_webui.controller` module. Test the `ipawebui.controller` module.
""" """
from ipa_webui import controller from ipawebui import controller
@ -31,7 +31,7 @@ class test_Controller(object):
def test_init(self): def test_init(self):
""" """
Test the `ipa_webui.controller.Controller.__init__()` method. Test the `ipawebui.controller.Controller.__init__()` method.
""" """
o = controller.Controller() o = controller.Controller()
assert o.template is None assert o.template is None
@ -41,7 +41,7 @@ class test_Controller(object):
def test_output_xhtml(self): def test_output_xhtml(self):
""" """
Test the `ipa_webui.controller.Controller.output_xhtml` method. Test the `ipawebui.controller.Controller.output_xhtml` method.
""" """
class Template(object): class Template(object):
def __init__(self): def __init__(self):
@ -61,7 +61,7 @@ class test_Controller(object):
def test_output_json(self): def test_output_json(self):
""" """
Test the `ipa_webui.controller.Controller.output_json` method. Test the `ipawebui.controller.Controller.output_json` method.
""" """
o = controller.Controller() o = controller.Controller()
assert o.output_json() == '{}' assert o.output_json() == '{}'