File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
import os
2
2
import shutil
3
3
import tempfile
4
+ import warnings
4
5
from collections .abc import Callable , Iterator
5
6
from copy import deepcopy
6
7
from pathlib import Path
10
11
import pytest
11
12
import yaml
12
13
13
- from ert .config import QueueSystem
14
+ from ert .config import ConfigWarning , QueueSystem
14
15
from ert .ensemble_evaluator import EvaluatorServerConfig
15
16
from ert .run_models .everest_run_model import EverestRunModel
16
17
from everest .config import EverestConfig
19
20
from tests .everest .utils import relpath
20
21
21
22
23
+ @pytest .fixture (autouse = True )
24
+ def filter_warnings ():
25
+ warnings .filterwarnings (
26
+ "ignore" ,
27
+ message = ".*Forward model might not write the required output.*" ,
28
+ category = ConfigWarning ,
29
+ )
30
+
31
+
22
32
@pytest .fixture (scope = "session" )
23
33
def testdata () -> Path :
24
34
return Path (__file__ ).parent / "test_data"
You can’t perform that action at this time.
0 commit comments