Skip to content

Commit

Permalink
print fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
sjagoe committed Dec 3, 2023
1 parent 5ada276 commit 8f446a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion haas/tests/test_haas_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from ..plugins.discoverer import Discoverer
from ..suite import TestSuite
from ..testing import unittest
from ..utils import cd
from ..utils import cd, configure_logging
from .compat import mock
from . import builder

Expand Down Expand Up @@ -356,6 +356,7 @@ def test_cause_failure(self1):
@with_patched_test_runner
def test_multiple_start_directories(self, runner_class, result_class,
plugin_manager):
configure_logging('debug')
# Given
module = builder.Module(
'test_something.py',
Expand All @@ -382,6 +383,11 @@ def test_multiple_start_directories(self, runner_class, result_class,

top_level = os.path.join(tempdir, fixture.name)

for root, dirs, files in os.walk(tempdir):
dirs[:] = sorted(dirs)
for item in sorted(files):
print(os.path.join(root, item), flush=True)

# When
with cd(top_level):
run, result = self._run_with_arguments(
Expand Down

0 comments on commit 8f446a7

Please sign in to comment.