Skip to content

Commit

Permalink
Remove wrongly added test, actually disable windows on logfile test
Browse files Browse the repository at this point in the history
  • Loading branch information
mb2055 committed Nov 8, 2023
1 parent 88e7c8d commit 8561f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test_conf.py

This file was deleted.

7 changes: 7 additions & 0 deletions tests/runner/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
from somd2.config import Config
from somd2.runner import Runner

import platform
import pytest


def test_dynamics_options():
"""Validate that dynamics options are set correctly."""
Expand Down Expand Up @@ -70,6 +73,10 @@ def test_dynamics_options():
) == d.integrator().__class__.__name__.lower().replace("integrator", "")


# Skip on windows due to file permission issues
@pytest.mark.skipif(
platform.system() == "Windows", reason="File permission issues on Windows"
)
def test_logfile_creation():
# Test that the logfile is created by either the initialisation of the runner or of a config
with tempfile.TemporaryDirectory() as tmpdir:
Expand Down

0 comments on commit 8561f5c

Please sign in to comment.