On Mon, 18 Dec 2023 at 10:13, Yu, Mingli <mingli...@eng.windriver.com> wrote:
>
> From: Mingli Yu <mingli...@windriver.com>
>
> Fix the below ptest failure:
>  self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle>
>  def test_skeleton_codestyle(self):
>  """
>  This test shouldn't run in proliferated repositories.
>  """
>  setup_cfg = configparser.ConfigParser()
>  setup_cfg.read("setup.cfg")
>  > if setup_cfg["metadata"]["name"] != "skeleton":
>  tests/test_skeleton_codestyle.py:22:
>  self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata'
>  def _getitem_(self, key):
>  if key != self.default_section and not self.has_section(key):
>  > raise KeyError(key)
>  E KeyError: 'metadata'

I went and checked why this isn't seen on the autobulder - this ptest
is actually excluded from testing because it's in PTESTS_PROBLEMS.
Please add it to PTESTS_FAST (if it's quick enough), and then it's
good.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192627): 
https://lists.openembedded.org/g/openembedded-core/message/192627
Mute This Topic: https://lists.openembedded.org/mt/103239607/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to