mario.load_test#

mario.load_test(table, tech_assumption=None, layout='standard')#

Load one of the packaged test databases.

Parameters:
  • table (str) – Table kind to load. Accepted values are "IOT" and "SUT".

  • tech_assumption (str, optional) – Optional SUT technology assumption forwarded to the parser. Accepted values are "industry-based", "product-based", "IT" and "PT".

  • layout (str, optional) –

    Fixture layout to load. Accepted values are:

    • "legacy": retained as an alias for "standard";

    • "standard": the standard-layout workbook in mario/test/tables;

    • "special": the new workbook variant that needs explicit matrix_layouts.

Returns:

Parsed test database ready for examples or tests.

Return type:

mario.Database