Module trase.tools.data_release_package.snapshot.test.test_dbt_sources
Functions
def test_a_second_run_changes_nothing(tmp_path)def test_declares_a_package_that_is_not_in_the_file_yet(tmp_path)def test_leaves_the_file_alone_when_it_already_says_this(tmp_path)def test_leaves_the_other_packages_and_the_comment_alone(tmp_path)def test_replaces_the_tables_of_a_package_that_is(tmp_path)-
A package that no longer publishes spatial metrics stops declaring them: the pipeline unions what the source says, so a table that is gone has to go with it.
def test_writes_the_file_if_it_is_not_there_at_all(tmp_path)-
The first package snapshotted has no file to be added to, so it makes one.