Skip to content

Commit

Permalink
Updates for integration testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick @ Work committed Apr 8, 2016
1 parent 443eb82 commit 5890e40
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements-centos.txt
@@ -1,2 +1,3 @@
pystache
beautifulsoup4==4.4.1
flexmock
19 changes: 19 additions & 0 deletions tardis/test_on_mysql_settings.py
@@ -0,0 +1,19 @@
from tardis.test_settings import *

DATABASES = {
'default': {
'ENGINE': "django.db.backends.mysql",
'NAME': "tardis",
'USER': "mytardis",
'PASSWORD': "password",
'HOST': "localhost",
'PORT': "3306",
'STORAGE_ENGINE': "InnoDB",
'OPTIONS': {
'init_command': 'SET storage_engine=InnoDB',
'charset': 'utf8',
'use_unicode': True,
},
}
}

12 changes: 12 additions & 0 deletions tardis/test_on_postgresl_settings.py
@@ -0,0 +1,12 @@
from tardis.test_settings import *

DATABASES = {
'default': {
'ENGINE': "django.db.backends.postgresql_psycopg2",
'NAME': "tardis",
'USER': "runner",
'PASSWORD': "semaphoredb",
'HOST': "localhost",
'PORT': "",
}
}

0 comments on commit 5890e40

Please sign in to comment.