Skip to content
Snippets Groups Projects
Commit 8930ac69 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

Merge branch 'test_deploy' into d3d_add_nete_rho

parents a173a461 60667bb7
No related branches found
No related tags found
1 merge request!168D3d add nete rho
Pipeline #207385 passed
...@@ -16,8 +16,13 @@ classdef (SharedTestFixtures={... ...@@ -16,8 +16,13 @@ classdef (SharedTestFixtures={...
methods(Static) methods(Static)
function test_gdat_call(testCase,shot,request) function test_gdat_call(testCase,shot,request)
% actual function to test gdat call % actual function to test gdat call
import matlab.unittest.fixtures.WorkingFolderFixture;
testCase.assertTrue(isnumeric(str2double(shot))); testCase.assertTrue(isnumeric(str2double(shot)));
testCase.assertTrue(ischar(request)); testCase.assertTrue(ischar(request));
% move to a /tmp/xx folder so if fort.0 files or others are created, it can
f=matlab.unittest.fixtures.WorkingFolderFixture('withsuffix','_gdat');
testCase.applyFixture(f);
% gdat call % gdat call
gdat_call = sprintf(['gdat_' lower(testCase.Machine) '(%s,''%s'')'],shot,request); gdat_call = sprintf(['gdat_' lower(testCase.Machine) '(%s,''%s'')'],shot,request);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment