Commit 8e17039c authored by Sævik Pål Næverlid's avatar Sævik Pål Næverlid
Browse files

Merge branch 'hotfix/chemicals'

parents 70232b9e 8b6c8ddb
import numpy as np
import pytest
import pkg_resources
from ladim_ibm.chemicals import gridforce, IBM
......@@ -33,10 +32,9 @@ class Test_nearest_unmasked:
class Test_ibm_land_collision:
@pytest.fixture()
def config(self):
from ladim_ibm.tests.test_examples import get_config
from ladim.configuration import configure
pkg = 'ladim_ibm.chemicals'
with pkg_resources.resource_stream(pkg, 'ladim.yaml') as config_file:
return configure(config_file)
return configure(get_config('chemicals'))
@pytest.fixture()
def grid(self, config):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment