Changes between Version 7 and Version 8 of TestingDjango


Ignore:
Timestamp:
01/20/2008 04:04:25 PM (7 years ago)
Author:
Carl Karsten <carl@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TestingDjango

    v7 v8  
    88
    99{{{
     10# settings_memory.py
     11# this should be faster than the others because it uses an in-memory SQLite
     12DATABASE_ENGINE = 'sqlite3'
     13DATABASE_NAME = ':memory:'
     14ROOT_URLCONF = None
     15}}}
     16{{{
    1017# settings_sqlite.py
    1118DATABASE_ENGINE = 'sqlite3'   
    1219DATABASE_NAME = 'demodb'
    1320ROOT_URLCONF=None
    14 SITE_ID=1
    1521}}}
    16 
    1722{{{
    18 # settings_memory.py
    19 # this should be faster than the others because it uses an in-memory SQLite
    20 DATABASE_ENGINE = 'sqlite3'
    21 DATABASE_NAME = ':memory:'
    22 DATABASE_USER = ''       
    23 DATABASE_PASSWORD = ''   
    24 DATABASE_HOST = ''       
    25 DATABASE_PORT = ''       
    26 
    27 LANGUAGE_CODE = 'en-us'
    28 SITE_ID = 1
    29 ROOT_URLCONF = ''
    30 }}}
    31 
    32 {{{
    33 # settings_postgresql.py
     23# settings_postgresql1.py
    3424DATABASE_ENGINE = 'postgresql'
    35 DATABASE_USER = 'foo'   
    36 DATABASE_PASSWORD = 'abc'
    37 
     25DATABASE_NAME = 'x'
     26DATABASE_USER = 'y'
     27DATABASE_PASSWORD = 'z'
    3828ROOT_URLCONF=None
    3929TEST_DATABASE_CHARSET = 'utf8'
    4030}}}
    41 
    4231{{{
    4332# settings_mysql.py
     
    4534DATABASE_USER = 'foo'   
    4635DATABASE_PASSWORD = 'abc'
    47 
    4836ROOT_URLCONF=None
    49 SITE_ID=1
    5037TEST_DATABASE_CHARSET = 'utf8'
    5138}}}
     
    6552./runtests.py --settings settings_sqlite 2>&1|tee --append runtests.log
    6653
     54cat settings_memory.py>> runtests.log
     55./runtests.py --settings settings_memory 2>&1|tee --append runtests.log
     56
    6757cat settings_mysql.py>> runtests.log
    6858./runtests.py --settings settings_mysql 2>&1|tee --append runtests.log
     59
     60cat settings_postgresql1.py>> runtests.log
     61./runtests.py --settings settings_postgresql1 2>&1|tee --append runtests.log
    6962}}}
    7063
Back to Top