mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test names to definitively reference tests and the IDs can be dropped, along with their supporting code. (From OE-Core rev: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
from oeqa.runtime.case import OERuntimeTestCase
|
||||
from oeqa.core.decorator.depends import OETestDepends
|
||||
from oeqa.core.decorator.oeid import OETestID
|
||||
from oeqa.runtime.decorator.package import OEHasPackage
|
||||
|
||||
class LogrotateTest(OERuntimeTestCase):
|
||||
@@ -16,7 +15,6 @@ class LogrotateTest(OERuntimeTestCase):
|
||||
def tearDownClass(cls):
|
||||
cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && rm -rf $HOME/logrotate_dir')
|
||||
|
||||
@OETestID(1544)
|
||||
@OETestDepends(['ssh.SSHTest.test_ssh'])
|
||||
@OEHasPackage(['logrotate'])
|
||||
def test_1_logrotate_setup(self):
|
||||
@@ -31,7 +29,6 @@ class LogrotateTest(OERuntimeTestCase):
|
||||
' %s and %s' % (status, output))
|
||||
self.assertEqual(status, 0, msg = msg)
|
||||
|
||||
@OETestID(1542)
|
||||
@OETestDepends(['logrotate.LogrotateTest.test_1_logrotate_setup'])
|
||||
def test_2_logrotate(self):
|
||||
status, output = self.target.run('logrotate -f /etc/logrotate.conf')
|
||||
|
||||
Reference in New Issue
Block a user