mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
hold up can this really be the bug
This commit is contained in:
parent
338369a540
commit
0d29ed279f
2 changed files with 15 additions and 1 deletions
15
nwb_linkml/tests/test_linkml.py
Normal file
15
nwb_linkml/tests/test_linkml.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
import pytest
|
||||
import warnings
|
||||
|
||||
def test_hold_up():
|
||||
from linkml_runtime.linkml_model import SchemaDefinition, Annotation
|
||||
schema = SchemaDefinition(
|
||||
id='myschema',
|
||||
name='myschema',
|
||||
annotations=[{'tag':'my_annotation','value':True}]
|
||||
)
|
||||
|
||||
warnings.warn('TYPE OF ANNOTATION IS')
|
||||
warnings.warn(str(type(schema.annotations['my_annotation'].value)))
|
||||
|
||||
|
|
@ -84,7 +84,6 @@ def test_linkml_build_from_yaml(tmp_output_dir):
|
|||
|
||||
|
||||
|
||||
|
||||
@pytest.mark.skip()
|
||||
@pytest.mark.depends(on=['test_linkml_provider'])
|
||||
@pytest.mark.parametrize(
|
||||
|
|
Loading…
Reference in a new issue