diff --git a/tests/functional/unit_testing/test_unit_testing.py b/tests/functional/unit_testing/test_unit_testing.py index 7ac8b4f3493..887c1907e76 100644 --- a/tests/functional/unit_testing/test_unit_testing.py +++ b/tests/functional/unit_testing/test_unit_testing.py @@ -33,6 +33,7 @@ test_my_model_incremental_yml_wrong_override, test_my_model_incremental_yml_no_this_input, ) +from tests.unit.utils import normalize class TestUnitTests: @@ -492,9 +493,13 @@ def test_subfolder_unit_test(self, project): # Test that correct path is written in logs assert ( - "target/compiled/test/models/subfolder/my_model.yml/models/subfolder/my_unit_test.sql" + normalize( + "target/compiled/test/models/subfolder/my_model.yml/models/subfolder/my_unit_test.sql" + ) in output ) assert file_exists( - "target/compiled/test/models/subfolder/my_model.yml/models/subfolder/my_unit_test.sql" + normalize( + "target/compiled/test/models/subfolder/my_model.yml/models/subfolder/my_unit_test.sql" + ) )