fuel-web/fuelweb_test
2013-09-05 17:01:00 +04:00
..
integration Move test_ha_add_compute to another suite. Refator it for 3.2 2013-09-05 17:01:00 +04:00
__init__.py coding utf8 line must be ahead of License info 2013-06-25 10:56:14 +00:00
helpers.py Fix API calls for integration tests 2013-07-23 14:02:50 +00:00
module.mk Rename ISO to ISO_PATH 2013-06-18 15:01:46 +00:00
nailgun_client.py Bug there was no slash in url 2013-09-03 09:15:23 +00:00
node_roles.py License information added 2013-06-25 07:49:11 +00:00
readme.txt Fixed readme for fuelweb test 2013-09-03 13:44:33 +00:00
requirements.txt Update devops for avoid network conflicts 2013-06-19 06:00:35 +04:00
root.py License information added 2013-06-25 07:49:11 +00:00
settings.py Fixed VLAN manager set up through API call for integration tests 2013-07-25 15:16:41 +04:00

sudo pip install virtualenv
virtualenv ../fuelweb_test --system-site-packages
. ../fuelweb_test/bin/activate
pip install -r fuelweb_test/requirements.txt
sudo sed -ir 's/(local\s+all\s+postgres\s+)peer/\1trust/' /etc/postgresql/9.1/main/pg_hba.conf
# make sure /etc/postgresql/9.1/main/pg_hba.conf has following line
# local   all             postgres                                trust

sudo service postgresql restart
django-admin.py syncdb --settings devops.settings
export ISO_PATH=`pwd`/build/iso/nailgun-centos-6.4-amd64.iso
export ENV_NAME="fuelweb_test" # Or any other name you need
dos.py erase $ENV_NAME
nosetests -w fuelweb_test