summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-10 12:21:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-17 14:41:40 +0100
commit77ca5518130a1be044c69c3a7c9ddfae63b56e67 (patch)
tree60aabea30cb71776af550273211341fa71a82e7c /bitbake
parent645435a645a0817cec94ce1433eb74fbe7388416 (diff)
downloadpoky-77ca5518130a1be044c69c3a7c9ddfae63b56e67.tar.gz
bitbake: toaster: remove prints from the test code
Removed prints as they make test output harder to understand. (Bitbake rev: 922d37bfee7cc75aa7a3fd5b76abc33df57d3704) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/tests.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/orm/tests.py b/bitbake/lib/toaster/orm/tests.py
index d4d97eea0a..df9a2a9f52 100644
--- a/bitbake/lib/toaster/orm/tests.py
+++ b/bitbake/lib/toaster/orm/tests.py
@@ -18,9 +18,6 @@ class LayerSourceVerifyInheritanceSaveLoad(TestCase):
18 lils = LayerSource.objects.create(name = "a2", sourcetype = LayerSource.TYPE_LAYERINDEX, apiurl = "") 18 lils = LayerSource.objects.create(name = "a2", sourcetype = LayerSource.TYPE_LAYERINDEX, apiurl = "")
19 imls = LayerSource.objects.create(name = "a3", sourcetype = LayerSource.TYPE_IMPORTED, apiurl = "") 19 imls = LayerSource.objects.create(name = "a3", sourcetype = LayerSource.TYPE_IMPORTED, apiurl = "")
20 20
21 import pprint
22 pprint.pprint([(x.__class__,vars(x)) for x in LayerSource.objects.all()])
23
24 self.assertTrue(True in map(lambda x: isinstance(x, LocalLayerSource), LayerSource.objects.all())) 21 self.assertTrue(True in map(lambda x: isinstance(x, LocalLayerSource), LayerSource.objects.all()))
25 self.assertTrue(True in map(lambda x: isinstance(x, LayerIndexLayerSource), LayerSource.objects.all())) 22 self.assertTrue(True in map(lambda x: isinstance(x, LayerIndexLayerSource), LayerSource.objects.all()))
26 self.assertTrue(True in map(lambda x: isinstance(x, ImportedLayerSource), LayerSource.objects.all())) 23 self.assertTrue(True in map(lambda x: isinstance(x, ImportedLayerSource), LayerSource.objects.all()))
@@ -42,7 +39,6 @@ class LILSUpdateTestCase(TransactionTestCase):
42 def test_update(self): 39 def test_update(self):
43 layer_index_url = os.getenv("TTS_LAYER_INDEX") 40 layer_index_url = os.getenv("TTS_LAYER_INDEX")
44 if layer_index_url == None: 41 if layer_index_url == None:
45 print "Using layers.openembedded.org for layer index. override with TTS_LAYER_INDEX enviroment variable"
46 layer_index_url = "http://layers.openembedded.org/" 42 layer_index_url = "http://layers.openembedded.org/"
47 43
48 lils = LayerSource.objects.create(name = "b1", sourcetype = LayerSource.TYPE_LAYERINDEX, apiurl = layer_index_url + "layerindex/api/") 44 lils = LayerSource.objects.create(name = "b1", sourcetype = LayerSource.TYPE_LAYERINDEX, apiurl = layer_index_url + "layerindex/api/")