* change .autoenv trick description in readme

* add missing wandb test mark
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-04-27 20:13:09 +02:00
1 parent e0293193f5
commit f90db673c3
3 files changed
+68 -27

No files matched your search

+15
View File
@@ -1,5 +1,7 @@
import pytest
from tests.helpers.runif import RunIf
def test_something1():
"""Some test description."""
@@ -9,3 +11,16 @@ def test_something1():
def test_something2():
"""Some test description."""
assert 1 + 1 == 2
@pytest.mark.parametrize("arg1", [0.5, 1.0, 2.0])
def test_something3(arg1: float):
"""Some test description."""
assert arg1 > 0
# use RunIf to skip execution of some tests when not on windows or when no gpus are available
@RunIf(skip_windows=True, min_gpus=1)
def test_something4():
"""Some test description."""
assert True is True