diff options
| -rw-r--r-- | bitbake/lib/toaster/tests/builds/README | 2 | ||||
| -rw-r--r-- | bitbake/lib/toaster/toastermain/settings_test.py (renamed from bitbake/lib/toaster/toastermain/settings-test.py) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/tests/builds/README b/bitbake/lib/toaster/tests/builds/README index 98e3e2e047..4a3b5328b8 100644 --- a/bitbake/lib/toaster/tests/builds/README +++ b/bitbake/lib/toaster/tests/builds/README | |||
| @@ -7,7 +7,7 @@ The simplest way to run the tests are the following commands: | |||
| 7 | 7 | ||
| 8 | $ . oe-init-build-env | 8 | $ . oe-init-build-env |
| 9 | $ cd bitbake/lib/toaster/ # path my vary but this is into toaster's directory | 9 | $ cd bitbake/lib/toaster/ # path my vary but this is into toaster's directory |
| 10 | $ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds | 10 | $ DJANGO_SETTINGS_MODULE='toastermain.settings_test' ./manage.py test tests.builds |
| 11 | 11 | ||
| 12 | Optional environment variables: | 12 | Optional environment variables: |
| 13 | - TOASTER_DIR (where toaster keeps it's artifacts) | 13 | - TOASTER_DIR (where toaster keeps it's artifacts) |
diff --git a/bitbake/lib/toaster/toastermain/settings-test.py b/bitbake/lib/toaster/toastermain/settings_test.py index 36b14c06db..a322711579 100644 --- a/bitbake/lib/toaster/toastermain/settings-test.py +++ b/bitbake/lib/toaster/toastermain/settings_test.py | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | # Settings overlay to use for running tests | 24 | # Settings overlay to use for running tests |
| 25 | # DJANGO_SETTINGS_MODULE=toastermain.settings-test | 25 | # DJANGO_SETTINGS_MODULE=toastermain.settings-test |
| 26 | 26 | ||
| 27 | from settings import * | 27 | from toastermain.settings import * |
| 28 | 28 | ||
| 29 | DEBUG = True | 29 | DEBUG = True |
| 30 | TEMPLATE_DEBUG = DEBUG | 30 | TEMPLATE_DEBUG = DEBUG |
