Skip to content

Commit

Permalink
Remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Jul 12, 2024
1 parent ab814d4 commit 70ecfeb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_bmi_docker.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import platform
from distutils.dir_util import copy_tree
from pathlib import Path
from unittest.mock import patch
import docker
import docker.errors
import numpy as np
Expand Down Expand Up @@ -271,12 +270,6 @@ def test_get_wrong_value(self, updated_model):
with pytest.raises(ValueError, match="Unknown variable"):
updated_model.get_value("nonsense_variable", dest)

def test_dev_error_variables(self, updated_model):
dest = np.zeros(1)
with patch("PyStemmusScope.bmi.implementation.MODEL_VARNAMES", ("NONSENSE",)):
with pytest.raises(ValueError, match="Contact devs"):
updated_model.get_value("NONSENSE", dest)

def test_set_value(self, updated_model):
gridsize = updated_model.get_grid_size(
updated_model.get_var_grid("soil_temperature")
Expand Down

0 comments on commit 70ecfeb

Please sign in to comment.