Merge pull request 'Zrychlení testů' (!21) from faster_tests into master
Reviewed-on: #21
This commit is contained in:
		
						commit
						a6a57de3cf
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		|  | @ -6,4 +6,4 @@ set -exuo pipefail | |||
| ensure_web_installed | ||||
| 
 | ||||
| trap - ERR # Testy nejspíš selžou, ale nechceme kolem toho dělat další chybovou hlášku. | ||||
| ./manage.py test -v2 | ||||
| ./manage.py test -v2 --keepdb "$@" | ||||
|  |  | |||
|  | @ -40,7 +40,10 @@ DATABASES = { | |||
| 	'default': { | ||||
| 		'ENGINE': 'django.db.backends.sqlite3', | ||||
| 		'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'), | ||||
| 	} | ||||
| 		'TEST': { | ||||
| 			'NAME': os.path.join(BASE_DIR, 'db-test.sqlite3'), | ||||
| 			}, | ||||
| 	}, | ||||
| } | ||||
| #DATABASES = { | ||||
| #    'default': { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue