Thursday, January 15, 2015

Run openstack horizon Integration test on windows with IE

1: Install virtualenv for windows

download https://bootstrap.pypa.io/get-pip.py
c:\>python get-pip.py
c:\>pip install virtualenv

2: Clone horizon repository

git clone https://github.com/openstack/horizon

3:Install a  Virtual env  for horizon

c:\horizon>virtualenv .venv


4: Activate by ./vevn/secirpt/activate

c:\horizon>.venv\Scripts\activate

5: Install the requirements lib

pip install -r requirement.txt test-requirement.txt



6:Direct the test to devstack 


modify openstack_dashboard/test/integration_tests/horizon.conf      to point the remote devstack

dashboard_url=http://15.126.211.193/
login_url=http://15.126.211.193/auth/login/



7: set INTEGRATION_TESTS=1

8: set BROWSER=IE

9: nosetests openstack_dashboard/test/integration_tests/tests

No comments:

Post a Comment