Skip to content

Commit 56603dc

Browse files
author
Matthew Fisher
committed
updated test suite to point to controller project
1 parent 822762f commit 56603dc

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

.coveragerc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ omit =
33
*/venv/*
44
*/virtualenv/*
55
*tests*
6-
api/__init__.py
7-
api/docker.py
6+
controller/api/__init__.py
7+
controller/api/docker.py
88
client/__init__.py
99
client/models.py
10-
cm/__init__.py
11-
cm/models.py
12-
provider/digitalocean.py
13-
provider/ec2.py
14-
provider/models.py
15-
provider/rackspace.py
16-
provider/static.py
17-
web/__init__.py
18-
web/models.py
19-
web/templatetags/__init__.py
10+
controller/cm/__init__.py
11+
controller/cm/models.py
12+
controller/provider/digitalocean.py
13+
controller/provider/ec2.py
14+
controller/provider/models.py
15+
controller/provider/rackspace.py
16+
controller/provider/static.py
17+
controller/web/__init__.py
18+
controller/web/models.py
19+
controller/web/templatetags/__init__.py
2020
# osx library files when not running in virtualenv
2121
/Library/*
2222
/System/*
@@ -34,5 +34,5 @@ exclude_lines =
3434
if __name__ == .__main__.:
3535

3636
[html]
37-
extra_css = web/static/css/main.css
37+
extra_css = controller/web/static/css/main.css
3838
title = Deis Coverage Report

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ before_install:
1818
- sudo apt-get install -qq libpq-dev
1919

2020
install:
21-
- pip install -r requirements.txt
22-
- pip install -r dev_requirements.txt coveralls
21+
- pip install -r controller/requirements.txt
22+
- pip install -r controller/dev_requirements.txt coveralls
2323

2424
before_script:
2525
- "psql -c 'create database deis_testing;' -U postgres"
2626
- |
27-
cat > deis/local_settings.py <<EOF
27+
cat > controller/deis/local_settings.py <<EOF
2828
DATABASES = {
2929
'default': {
3030
'ENGINE': 'django.db.backends.postgresql_psycopg2',

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
runserver:
2-
python manage.py runserver
2+
cd controller && python manage.py runserver
33

44
db:
5-
python manage.py syncdb --migrate --noinput
5+
cd controller && python manage.py syncdb --migrate --noinput
66

77
test:
8-
python manage.py test --noinput api cm provider web
8+
cd controller && python manage.py test --noinput api cm provider web
99

1010
coverage:
11-
coverage run manage.py test --noinput api cm provider web
12-
coverage html
11+
cd controller && coverage run manage.py test --noinput api cm provider web
12+
cd controller && coverage html
1313

1414
test_client:
1515
python -m unittest discover client.tests

0 commit comments

Comments
 (0)