diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/tests.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/tests.py b/bitbake/lib/toaster/bldcontrol/tests.py index f54cf7f366..141b42acbc 100644 --- a/bitbake/lib/toaster/bldcontrol/tests.py +++ b/bitbake/lib/toaster/bldcontrol/tests.py | |||
@@ -18,7 +18,7 @@ import subprocess | |||
18 | import os | 18 | import os |
19 | 19 | ||
20 | # standard poky data hardcoded for testing | 20 | # standard poky data hardcoded for testing |
21 | BITBAKE_LAYERS = [type('bitbake_info', (object,), { "giturl": "git://git.yoctoproject.org/poky.git", "dirpath": "", "commit": "HEAD"})] | 21 | BITBAKE_LAYER = type('bitbake_info', (object,), { "giturl": "git://git.yoctoproject.org/poky.git", "dirpath": "", "commit": "HEAD"}) |
22 | POKY_LAYERS = [ | 22 | POKY_LAYERS = [ |
23 | type('poky_info', (object,), { "name": "meta", "giturl": "git://git.yoctoproject.org/poky.git", "dirpath": "meta", "commit": "HEAD"}), | 23 | type('poky_info', (object,), { "name": "meta", "giturl": "git://git.yoctoproject.org/poky.git", "dirpath": "meta", "commit": "HEAD"}), |
24 | type('poky_info', (object,), { "name": "meta-yocto", "giturl": "git://git.yoctoproject.org/poky.git", "dirpath": "meta-yocto", "commit": "HEAD"}), | 24 | type('poky_info', (object,), { "name": "meta-yocto", "giturl": "git://git.yoctoproject.org/poky.git", "dirpath": "meta-yocto", "commit": "HEAD"}), |
@@ -53,7 +53,7 @@ class BEControllerTests(object): | |||
53 | bc = self._getBEController(obe) | 53 | bc = self._getBEController(obe) |
54 | try: | 54 | try: |
55 | # setting layers, skip any layer info | 55 | # setting layers, skip any layer info |
56 | bc.setLayers(BITBAKE_LAYERS, POKY_LAYERS) | 56 | bc.setLayers(BITBAKE_LAYER, POKY_LAYERS) |
57 | except NotImplementedException, e: | 57 | except NotImplementedException, e: |
58 | print "Test skipped due to command not implemented yet" | 58 | print "Test skipped due to command not implemented yet" |
59 | return True | 59 | return True |
@@ -80,7 +80,7 @@ class BEControllerTests(object): | |||
80 | layerSet = False | 80 | layerSet = False |
81 | try: | 81 | try: |
82 | # setting layers, skip any layer info | 82 | # setting layers, skip any layer info |
83 | layerSet = bc.setLayers(BITBAKE_LAYERS, POKY_LAYERS) | 83 | layerSet = bc.setLayers(BITBAKE_LAYER, POKY_LAYERS) |
84 | except NotImplementedException: | 84 | except NotImplementedException: |
85 | print "Test skipped due to command not implemented yet" | 85 | print "Test skipped due to command not implemented yet" |
86 | return True | 86 | return True |