diff options
| author | Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com> | 2023-12-07 16:49:44 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-08 17:17:42 +0000 |
| commit | ad2f5a359e7368f0bf1a6d7d2f01a0f8080387d7 (patch) | |
| tree | ecb66a5ebdfb5387f0f949054c92490f0bada2a2 /bitbake/lib/toaster/tests/db/test_db.py | |
| parent | 1b14962c3fae771f50d6a8e1937a93c7ce76f592 (diff) | |
| download | poky-ad2f5a359e7368f0bf1a6d7d2f01a0f8080387d7.tar.gz | |
bitbake: toaster/tests: Update build test
Updated build tests in toaster, added SSTATE_MIRROR to package build, changed build directory and update test order
This builds include the core-minimal-image, on the test enviroment a smaller package was use to run the test for time purposes
(Bitbake rev: af31116f0017912fc5a58a5976c814b6b326985f)
Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/tests/db/test_db.py')
| -rw-r--r-- | bitbake/lib/toaster/tests/db/test_db.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/db/test_db.py b/bitbake/lib/toaster/tests/db/test_db.py index 0410422276..072ab94363 100644 --- a/bitbake/lib/toaster/tests/db/test_db.py +++ b/bitbake/lib/toaster/tests/db/test_db.py | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | # SOFTWARE. | 23 | # SOFTWARE. |
| 24 | 24 | ||
| 25 | import sys | 25 | import sys |
| 26 | import pytest | ||
| 26 | 27 | ||
| 27 | try: | 28 | try: |
| 28 | from StringIO import StringIO | 29 | from StringIO import StringIO |
| @@ -47,7 +48,7 @@ def capture(command, *args, **kwargs): | |||
| 47 | def makemigrations(): | 48 | def makemigrations(): |
| 48 | management.call_command('makemigrations') | 49 | management.call_command('makemigrations') |
| 49 | 50 | ||
| 50 | 51 | @pytest.mark.order(1) | |
| 51 | class MigrationTest(TestCase): | 52 | class MigrationTest(TestCase): |
| 52 | 53 | ||
| 53 | def testPendingMigration(self): | 54 | def testPendingMigration(self): |
