Travis fix attempt

This commit is contained in:
Artur Barseghyan 2020-01-15 00:38:54 +01:00
parent 9c4245514c
commit 08acc438fd
2 changed files with 4 additions and 1 deletions

View file

@ -11,6 +11,9 @@ sudo: true
addons:
chrome: stable
hosts:
- localhost
- 127.0.0.1
matrix:
fast_finish: true

View file

@ -85,7 +85,7 @@ class FobiCoreTest(TestCase):
'action': action_url,
}
)
request.META['SERVER_NAME'] = '127.0.0.1'
request.META['SERVER_NAME'] = 'localhost'
form = FormEntryForm(
request.POST,
request=request,