Skip to content

Commit

Permalink
Switch sqlite migration test over to memory DB for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Vetter committed Dec 20, 2013
1 parent d3e6356 commit 239bede
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ test-oscar-fancypages:
USE_OSCAR_SANDBOX=true py.test -m integration

test-migration-sqlite:
- rm sandboxes/oscar_fancypages/sandbox/migration_test.sqlite
./sandboxes/oscar_fancypages/manage.py syncdb --noinput --migrate --settings=sandbox.settings_migration_sqlite
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(os.path.dirname(__file__), 'migration_test.sqlite'),
'NAME': ':memory:',
}
}

0 comments on commit 239bede

Please sign in to comment.