Skip to content
Snippets Groups Projects
Commit 04185aa8 authored by Swen Vermeul's avatar Swen Vermeul
Browse files

Merge branch 'release/1.4.1'

parents 46ac2b00 52142738
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ from setuptools import setup ...@@ -9,7 +9,7 @@ from setuptools import setup
setup( setup(
name='PyBIS', name='PyBIS',
version= '1.4', version= '1.4.1',
description='openBIS connection and interaction, optimized for using with Jupyter', description='openBIS connection and interaction, optimized for using with Jupyter',
url='https://sissource.ethz.ch/sispub/pybis/', url='https://sissource.ethz.ch/sispub/pybis/',
author='Swen Vermeul | ID SIS | ETH Zürich', author='Swen Vermeul | ID SIS | ETH Zürich',
......
...@@ -46,9 +46,19 @@ def test_create_delete_sample(space): ...@@ -46,9 +46,19 @@ def test_create_delete_sample(space):
sample.delete('sample creation test on '+timestamp) sample.delete('sample creation test on '+timestamp)
def test_create_delete_sample(space): def test_create_delete_sample_space(space):
o=space.openbis o=space.openbis
sample_type = 'UNKNOWN'
timestamp = time.strftime('%a_%y%m%d_%H%M%S').upper()
sample_code = 'test_sample_'+timestamp
sample = space.new_sample(code=sample_code, type=sample_type)
assert sample is not None
assert sample.space == space
assert sample.code == sample_code
sample.save()
assert sample.permId is not None
sample.delete('sample space creation test on '+timestamp)
def test_parent_child(space): def test_parent_child(space):
o=space.openbis o=space.openbis
......
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