From ab0780dfea9f0202ded3f2692633926aea35a5e6 Mon Sep 17 00:00:00 2001 From: Jose Perez Carranza Date: Thu, 15 Jun 2017 05:49:22 -0700 Subject: selftest: Add Testopia ID to test cases Add decorator @OETestID() with proper Tesopia TC ID to the test cases that did not have it set. (From OE-Core rev: d7bc697534db911a3ce98537d772d87482a0f702) Signed-off-by: Jose Perez Carranza Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/oelib/buildhistory.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/lib/oeqa/selftest/cases/oelib/buildhistory.py') 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 from oeqa.selftest.case import OESelftestTestCase import tempfile from oeqa.utils.commands import get_bb_var +from oeqa.core.decorator.oeid import OETestID class TestBlobParsing(OESelftestTestCase): @@ -39,6 +40,7 @@ class TestBlobParsing(OESelftestTestCase): self.repo.git.add("--all") self.repo.git.commit(message=msg) + @OETestID(1859) def test_blob_to_dict(self): """ Test convertion of git blobs to dictionary @@ -51,6 +53,7 @@ class TestBlobParsing(OESelftestTestCase): self.assertEqual(valuesmap, blob_to_dict(blob), "commit was not translated correctly to dictionary") + @OETestID(1860) def test_compare_dict_blobs(self): """ Test comparisson of dictionaries extracted from git blobs @@ -71,6 +74,7 @@ class TestBlobParsing(OESelftestTestCase): var_changes = { x.fieldname : (x.oldvalue, x.newvalue) for x in change_records} self.assertEqual(changesmap, var_changes, "Changes not reported correctly") + @OETestID(1861) def test_compare_dict_blobs_default(self): """ Test default values for comparisson of git blob dictionaries -- cgit v1.2.3-54-g00ecf