From 77ca5518130a1be044c69c3a7c9ddfae63b56e67 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 10 Aug 2015 12:21:24 +0100 Subject: 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 Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/tests.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bitbake/lib') 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): lils = LayerSource.objects.create(name = "a2", sourcetype = LayerSource.TYPE_LAYERINDEX, apiurl = "") imls = LayerSource.objects.create(name = "a3", sourcetype = LayerSource.TYPE_IMPORTED, apiurl = "") - import pprint - pprint.pprint([(x.__class__,vars(x)) for x in LayerSource.objects.all()]) - self.assertTrue(True in map(lambda x: isinstance(x, LocalLayerSource), LayerSource.objects.all())) self.assertTrue(True in map(lambda x: isinstance(x, LayerIndexLayerSource), LayerSource.objects.all())) self.assertTrue(True in map(lambda x: isinstance(x, ImportedLayerSource), LayerSource.objects.all())) @@ -42,7 +39,6 @@ class LILSUpdateTestCase(TransactionTestCase): def test_update(self): layer_index_url = os.getenv("TTS_LAYER_INDEX") if layer_index_url == None: - print "Using layers.openembedded.org for layer index. override with TTS_LAYER_INDEX enviroment variable" layer_index_url = "http://layers.openembedded.org/" lils = LayerSource.objects.create(name = "b1", sourcetype = LayerSource.TYPE_LAYERINDEX, apiurl = layer_index_url + "layerindex/api/") -- cgit v1.2.3-54-g00ecf