Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tom91136 authored and vkarak committed Dec 5, 2024
1 parent 887b0c7 commit 8e5ab3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions unittests/resources/checks_unlisted/fixtures_same_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
class HelloFixture(rfm.RunOnlyRegressionTest):
executable = 'echo hello from fixture'
myvar = variable(str)

@sanity_function
def assert_output(self):
return sn.assert_found(r'hello from fixture', self.stdout)


@rfm.simple_test
class TestA(rfm.RunOnlyRegressionTest):
Expand Down
6 changes: 5 additions & 1 deletion unittests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,15 +1227,19 @@ def test_fixture_resolution(run_reframe, run_action):
)
assert returncode == 0


def test_fixture_resolution_same_class(run_reframe, run_action):
returncode, stdout, stderr = run_reframe(
system='sys1',
environs=[],
checkpath=['unittests/resources/checks_unlisted/fixtures_same_class.py'],
checkpath=[
'unittests/resources/checks_unlisted/fixtures_same_class.py'
],
action=run_action
)
assert returncode == 0


def test_dynamic_tests(run_reframe, run_action):
returncode, stdout, _ = run_reframe(
system='sys0',
Expand Down

0 comments on commit 8e5ab3c

Please sign in to comment.