diff options
author | Jose Perez Carranza <jose.perez.carranza@linux.intel.com> | 2017-06-15 05:49:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:43:37 +0100 |
commit | d7bc697534db911a3ce98537d772d87482a0f702 (patch) | |
tree | b5a54d31ddcfc7857a16d730200c58563925cab6 /meta/lib/oeqa/selftest/cases/oelib | |
parent | 08b0702492536d41d3cf2c9c05d1fab36d32a566 (diff) | |
download | openembedded-core-contrib-d7bc697534db911a3ce98537d772d87482a0f702.tar.gz |
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.
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/oelib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/oelib/buildhistory.py | 4 |
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 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 |