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 @@ -697,14 +697,13 @@ def test_load_microbatch_with_ref_no_filter(
697697
698698@pytest .mark .slow
699699def test_load_multiple_snapshots_defined_in_same_file (sushi_test_dbt_context : Context ) -> None :
700- context = sushi_test_dbt_context
701- assert context .get_model ("snapshots.items_snapshot" )
702- assert context .get_model ("snapshots.items_check_snapshot" )
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 # Make sure cache works too
705- context .load ()
706- assert context .get_model ("snapshots.items_snapshot" )
707- assert context .get_model ("snapshots.items_check_snapshot" )
704+ sushi_test_dbt_context .load ()
705+ assert sushi_test_dbt_context .get_model ("snapshots.items_snapshot" )
706+ assert sushi_test_dbt_context .get_model ("snapshots.items_check_snapshot" )
708707
709708
710709@pytest .mark .slow
You can’t perform that action at this time.
0 commit comments