Skip to content

Commit

Permalink
Switch test to use advanced_file_regression
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed May 8, 2022
1 parent e08084f commit 1a1ee60
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_astatine.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

# 3rd party
import pytest
from coincidence.regressions import AdvancedDataRegressionFixture, check_file_regression
from pytest_regressions.file_regression import FileRegressionFixture
from coincidence.regressions import AdvancedDataRegressionFixture, AdvancedFileRegressionFixture

# this package
from astatine import (
Expand Down Expand Up @@ -48,8 +47,8 @@
),
]
)
def test_get_toplevel_comments(source: str, file_regression: FileRegressionFixture):
check_file_regression(get_toplevel_comments(source), file_regression)
def test_get_toplevel_comments(source: str, advanced_file_regression: AdvancedFileRegressionFixture):
advanced_file_regression.check(get_toplevel_comments(source))


@pytest.mark.parametrize(
Expand Down

0 comments on commit 1a1ee60

Please sign in to comment.