File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
aiida_test_cache/mock_code Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -226,11 +226,11 @@ def _get_mock_code(
226
226
if _config_action == ConfigActions .GENERATE .value :
227
227
mock_code_config [label ] = code_executable_path
228
228
code = InstalledCode (
229
- input_plugin_name = entry_point ,
230
229
computer = aiida_localhost ,
230
+ default_calc_job_plugin = entry_point ,
231
231
filepath_executable = mock_executable_path ,
232
+ label = code_label ,
232
233
)
233
- code .label = code_label
234
234
variables = MockVariables (
235
235
log_file = log_file .absolute (),
236
236
label = label ,
@@ -242,7 +242,7 @@ def _get_mock_code(
242
242
fail_on_missing = _fail_on_missing ,
243
243
_hasher = hasher ,
244
244
)
245
- code .set_prepend_text ( variables .to_env () )
245
+ code .prepend_text = variables .to_env ()
246
246
247
247
code .store ()
248
248
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ aiida_archive_cache = "aiida_test_cache.archive_cache"
76
76
addopts = ' --durations=10 --durations-min=3 --strict-config --strict-markers -ra --cov-report xml --cov-append'
77
77
filterwarnings = [
78
78
' ignore:Creating AiiDA configuration:UserWarning:aiida' ,
79
+ # https://github.com/aiidateam/plumpy/issues/283
80
+ ' ignore:There is no current event loop:DeprecationWarning:plumpy' ,
79
81
]
80
82
81
83
[tool .yapf ]
You can’t perform that action at this time.
0 commit comments