-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Leopoldo
committed
Nov 14, 2019
1 parent
a442edc
commit c94c176
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
echo "exporting NETWORKAPI_DEBUG" | ||
export NETWORKAPI_LOG_QUEUE=0 | ||
|
||
echo "exporting DJANGO_SETTINGS_MODULE" | ||
export DJANGO_SETTINGS_MODULE='networkapi.settings_ci' | ||
|
||
# Updates the SDN controller ip address | ||
export REMOTE_CTRL_IP=$(nslookup netapi_odl | grep Address | tail -1 | awk '{print $2}') | ||
echo "Found SDN controller at $REMOTE_CTRL_IP" | ||
|
||
echo "Starting tests.." | ||
python manage.py test app=networkapi/api_environment | ||
python manage.py test app=networkapi/plugins/SDN | ||
python manage.py test app=networkapi/api_ip | ||
python manage.py test app=networkapi/api_network | ||
python manage.py test app=networkapi/api_environment_vip | ||
python manage.py test app=networkapi/api_asn | ||
python manage.py test app=networkapi/api_interface | ||
python manage.py test app=networkapi/api_list_config_bgp | ||
python manage.py test app=networkapi/api_rack | ||
|