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
TEMPLATES = [ | |
{ | |
"BACKEND": "django.template.backends.django.DjangoTemplates", | |
"DIRS": [path.join(PROJ_DIR, "templates")], | |
"APP_DIRS": True, | |
"OPTIONS": { | |
"context_processors": [ | |
"django.template.context_processors.debug", | |
"django.template.context_processors.request", | |
"django.contrib.auth.context_processors.auth", |
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
[0KRunning with gitlab-runner 11.5.0-rc1 (e900028d) | |
[0;m[0K on docker-auto-scale ed2dce3a | |
[0;m[0KUsing Docker executor with image ruby:2.5 ... | |
[0;m[0KPulling docker image ruby:2.5 ... | |
[0;m[0KUsing docker image sha256:1dfe66cd651f90e47894b8da94cb23bac7811a5d333da451e36588c6f307b6ac for ruby:2.5 ... | |
[0;msection_start:1542272307:prepare_script | |
[0KRunning on runner-ed2dce3a-project-9404659-concurrent-0 via runner-ed2dce3a-srm-1542272248-35415d88... | |
section_end:1542272309:prepare_script | |
[0Ksection_start:1542272309:get_sources | |
[0K[32;1mCloning repository...[0;m |
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
class TestSearch: | |
""" | |
Non-regresion tests #27 : non error if a search do not return products | |
""" | |
CLIENT = Client() | |
WITNESS = { | |
'templates': [ | |
'ersatz/result.html', | |
'base.html', |
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
freezed@machine ~/git/pytest % python -V | |
Python 2.7.9 | |
freezed@machine ~/git/pytest % source .venv/bin/activate | |
(.venv) freezed@machine ~/git/pytest % which python | |
/home/fred/git/ocp5/.venv/bin/python | |
(.venv) freezed@machine ~/git/pytest % python -V | |
Python 3.6.4 | |
(.venv) freezed@machine ~/git/pytest % deactivate |