Skip to content

Commit

Permalink
Skip test if on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
louisleroy5 committed Jun 12, 2020
1 parent 6366c00 commit 406b3bb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_trnsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,14 @@ def test_trnbuild_idf_darwin_or_linux(self, config):

assert res


@pytest.mark.skipif(
get_platform() > (10, 15, 0),
reason="Skipping since wine 32bit can't run on MacOs >10.15 (Catalina)",
)
@pytest.mark.skipif(
os.environ.get("CI", "False").lower() == "true",
reason="Skipping this test on CI environment.",
)
def test_trnbuild_from_simple_idf(config):
# Path to weather file, window library and T3D template
window_file = "W74-lib.dat"
Expand Down

0 comments on commit 406b3bb

Please sign in to comment.