Skip to content

ngtests: improve _assert* methods #1669

Open
@sechkova

Description

@sechkova

Description of issue or feature request:

Currently #1636 proposes three types of asserts for checking the state of local metadata:

  • _assert_files_exist
  • _assert_content_equals
  • _assert_version_equals

These still have some issues (see #1636 (comment), #1636 (review))

  • non-trivial to pick which assert to use in which test case
  • _assert_content_equals calls the private method Repositorysimulator._fetch_metadata() to get the metadata content in bytes.

A smarter approach is needed, be it integrated in Repositorysimulator or not.

Metadata

Metadata

Assignees

Labels

backlogIssues to address with priority for current development goalstesting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions