Skip to content

Commit 03613b3

Browse files
author
Andrey Fedoseev
committed
Fixup
1 parent 223150c commit 03613b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

static_precompiler/tests/test_management.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def test_compilestatic_command(verbosity, capsys, monkeypatch, tmpdir):
5959
@pytest.mark.django_db
6060
def test_ignore_dependencies_option(django_assert_num_queries, monkeypatch, tmpdir):
6161

62+
monkeypatch.setattr("static_precompiler.management.commands.compilestatic.get_scanned_dirs", lambda: (
63+
os.path.join(os.path.dirname(__file__), "compilestatic"),
64+
))
6265
monkeypatch.setattr("static_precompiler.settings.ROOT", tmpdir.strpath)
6366

6467
with django_assert_num_queries(0):

0 commit comments

Comments
 (0)