summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/oelib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/oelib')
-rw-r--r--meta/lib/oeqa/selftest/cases/oelib/buildhistory.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
index f9bec53d4a..08675fd820 100644
--- a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
+++ b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
@@ -2,6 +2,7 @@ import os
2from oeqa.selftest.case import OESelftestTestCase 2from oeqa.selftest.case import OESelftestTestCase
3import tempfile 3import tempfile
4from oeqa.utils.commands import get_bb_var 4from oeqa.utils.commands import get_bb_var
5from oeqa.core.decorator.oeid import OETestID
5 6
6class TestBlobParsing(OESelftestTestCase): 7class TestBlobParsing(OESelftestTestCase):
7 8
@@ -39,6 +40,7 @@ class TestBlobParsing(OESelftestTestCase):
39 self.repo.git.add("--all") 40 self.repo.git.add("--all")
40 self.repo.git.commit(message=msg) 41 self.repo.git.commit(message=msg)
41 42
43 @OETestID(1859)
42 def test_blob_to_dict(self): 44 def test_blob_to_dict(self):
43 """ 45 """
44 Test convertion of git blobs to dictionary 46 Test convertion of git blobs to dictionary
@@ -51,6 +53,7 @@ class TestBlobParsing(OESelftestTestCase):
51 self.assertEqual(valuesmap, blob_to_dict(blob), 53 self.assertEqual(valuesmap, blob_to_dict(blob),
52 "commit was not translated correctly to dictionary") 54 "commit was not translated correctly to dictionary")
53 55
56 @OETestID(1860)
54 def test_compare_dict_blobs(self): 57 def test_compare_dict_blobs(self):
55 """ 58 """
56 Test comparisson of dictionaries extracted from git blobs 59 Test comparisson of dictionaries extracted from git blobs
@@ -71,6 +74,7 @@ class TestBlobParsing(OESelftestTestCase):
71 var_changes = { x.fieldname : (x.oldvalue, x.newvalue) for x in change_records} 74 var_changes = { x.fieldname : (x.oldvalue, x.newvalue) for x in change_records}
72 self.assertEqual(changesmap, var_changes, "Changes not reported correctly") 75 self.assertEqual(changesmap, var_changes, "Changes not reported correctly")
73 76
77 @OETestID(1861)
74 def test_compare_dict_blobs_default(self): 78 def test_compare_dict_blobs_default(self):
75 """ 79 """
76 Test default values for comparisson of git blob dictionaries 80 Test default values for comparisson of git blob dictionaries