Skip to content

Commit

Permalink
Ensure assets are present when running dep tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Jul 26, 2024
1 parent b831895 commit 0bf7c83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

import pytest

import shinylive._assets


def test_requirements_txt():
from shinylive._deps import _find_packages_in_requirements
Expand Down Expand Up @@ -36,6 +38,9 @@ def test_requirements_txt():
allow_module_level=True,
)

# Make sure assets are present before continuing with the tests.
shinylive._assets.ensure_shinylive_assets()


def test_module_to_package_key():
from shinylive._deps import module_to_package_key
Expand Down

0 comments on commit 0bf7c83

Please sign in to comment.