Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianKjerstad committed Aug 1, 2023
1 parent b99575a commit 9a5047d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ class ImportEntityTest(unittest.TestCase):
def test_get_root_package_content(self):
path = "tests/test_data/test_app_dir_struct"
datasource_contents = get_root_packages_in_data_sources(path)
assert datasource_contents == {"DemoApplicationDataSource": ["models", "instances"]}
assert "DemoApplicationDataSource" in datasource_contents
assert (
"instances" in datasource_contents["DemoApplicationDataSource"]
and "models" in datasource_contents["DemoApplicationDataSource"]
)

0 comments on commit 9a5047d

Please sign in to comment.