fuel-main/fuelweb_test
2013-09-17 18:23:06 +04:00
..
integration Suite attributes for admin node tests 2013-09-17 18:23:06 +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 Functions for updating redhat release 2013-09-11 12:38:52 +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 Add NAT to admin node 2013-09-11 12:38:52 +00: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