Commit c0875b09 authored by okhin's avatar okhin

Merge branch '4-tests-are-failing' into 'master'

Working CI

Implementing CI which work

See merge request !3
parents bf0fca7d 97ba83d3
Pipeline #92 passed with stage
in 49 seconds
......@@ -2,7 +2,9 @@ test python 3:
script:
- virtualenv --python=python3 env
- source env/bin/activate
- cp picampaign/settings.py.sample picampaign/settings.py
- python setup.py develop
- 'echo ${VIRTUAL_ENV}'
- python manage.py test
stage: test
tags:
......
......@@ -11,7 +11,7 @@ class CampaignContactMethodTests(TestCase):
start_date='2000-01-01',
end_date='2100-12-31'
)
contact = Contact(
contact = Contact.objects.create(
first_name='Victor',
last_name='Hugo',
phone='+3312345678'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment