Skip to content

Commit

Permalink
more precise assertion in TestGenerateSelectSource.test_select_source
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Jan 25, 2024
1 parent 518e3bc commit cd2bafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/docs/test_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_select_source(self, project):
# 2 sources, 1 selected
catalog = run_dbt(["docs", "generate", "--select", "source:test.my_seed.sample_seed"])
assert len(catalog.sources) == 1
assert "test.my_seed.sample_seed" in catalog.sources
assert "source.test.my_seed.sample_seed" in catalog.sources
# no nodes selected
assert len(catalog.nodes) == 0

Expand Down

0 comments on commit cd2bafc

Please sign in to comment.