Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
9501848b
Commit
9501848b
authored
3 years ago
by
Henry Luetcke
Committed by
Adam Laskowski
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
test space creation
parent
4174c232
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
obi_test.m
+11
-3
11 additions, 3 deletions
obi_test.m
with
11 additions
and
3 deletions
obi_test.m
+
11
−
3
View file @
9501848b
...
...
@@ -8,10 +8,18 @@ pass = true;
%% 1. Login to openBIS
obi
=
OpenBis
();
assert
(
obi
.
is_session_active
(),
'Session not active'
)
assert
(
obi
.
is_session_active
(),
'Session not active'
)
;
%% 2. Create space for test
space_name
=
'TESTING_SPACE'
;
try
space
=
obi
.
new_space
(
space_name
,
'a space for tests of the Matlab openBIS Toolbox'
);
catch
disp
(
'Could not create requested space'
)
rethrow
(
lasterror
)
end
spaces
=
obi
.
get_spaces
();
assert
(
any
(
ismember
(
spaces
.
code
,
space_name
)),
'Space has not been created'
);
%% 3. Create project for test
...
...
@@ -29,7 +37,7 @@ assert(obi.is_session_active(), 'Session not active')
%% 8. Logout
obi
.
logout
()
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment