Split up the OptionList snapshot tests

Don't run 3 snapshot tests in one test function when it's easier to see what
broke and where if each is in their own function.
This commit is contained in:
Dave Pearson
2023-05-31 09:17:26 +01:00
parent 3dea4337ac
commit dba14b8a12
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")
def test_option_list(snap_compare):
def test_option_list_strings(snap_compare):
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")
def test_option_list_tables(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_tables.py")