tests/parse: Fix one test overwriting another

Message ID 20220420123924.2528134-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit da812d938fd79e2cc7bdf355ccf5b0f9ead684c4
Headers show
Series tests/parse: Fix one test overwriting another | expand

Commit Message

Richard Purdie April 20, 2022, 12:39 p.m. UTC
Fix an issue where two tests have the same name with one overwriting the
other.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/tests/parse.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/tests/parse.py b/lib/bb/tests/parse.py
index 4d17f82edc..2898f9bb14 100644
--- a/lib/bb/tests/parse.py
+++ b/lib/bb/tests/parse.py
@@ -119,7 +119,7 @@  EXTRA_OECONF:class-target = "b"
 EXTRA_OECONF:append = " c"
 """
 
-    def test_parse_overrides(self):
+    def test_parse_overrides2(self):
         f = self.parsehelper(self.overridetest2)
         d = bb.parse.handle(f.name, self.d)['']
         d.appendVar("EXTRA_OECONF", " d")