Merge pull request #2700 from davep/split-option-list-snapshits

Split up the OptionList snapshot tests
This commit is contained in:
Dave Pearson
2023-05-31 11:22:51 +01:00
committed by GitHub
2 changed files with 227 additions and 223 deletions

File diff suppressed because one or more lines are too long

View File

@@ -212,9 +212,13 @@ def test_tabbed_content(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "tabbed_content.py") assert snap_compare(WIDGET_EXAMPLES_DIR / "tabbed_content.py")
def test_option_list(snap_compare): def test_option_list_strings(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_strings.py") assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_strings.py")
def test_option_list_options(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_options.py") assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_options.py")
def test_option_list_tables(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_tables.py") assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_tables.py")