File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -692,14 +692,13 @@ def test_load_microbatch_with_ref_no_filter(
692692
693693@pytest .mark .slow
694694def test_load_multiple_snapshots_defined_in_same_file (sushi_test_dbt_context : Context ) -> None :
695- context = sushi_test_dbt_context
696- assert context .get_model ("snapshots.items_snapshot" )
697- assert context .get_model ("snapshots.items_check_snapshot" )
695+ assert sushi_test_dbt_context .get_model ("snapshots.items_snapshot" )
696+ assert sushi_test_dbt_context .get_model ("snapshots.items_check_snapshot" )
698697
699698 # Make sure cache works too
700- context .load ()
701- assert context .get_model ("snapshots.items_snapshot" )
702- assert context .get_model ("snapshots.items_check_snapshot" )
699+ sushi_test_dbt_context .load ()
700+ assert sushi_test_dbt_context .get_model ("snapshots.items_snapshot" )
701+ assert sushi_test_dbt_context .get_model ("snapshots.items_check_snapshot" )
703702
704703
705704@pytest .mark .slow
You can’t perform that action at this time.
0 commit comments