# Path: tellurium/temiriam.py
# def getSBMLFromBiomodelsURN(urn):


from six import string_types
from tellurium import temiriam
import roadrunner
"""
Testing temiriam module
"""
from __future__ import absolute_import, print_function


def test_getSBMLFromBiomodelsURN1():
    """ Check that string is returned.

    :return:
    """
    urn = 'urn:miriam:biomodels.db:BIOMD0000000139'
    sbml = temiriam.getSBMLFromBiomodelsURN(urn)
    assert sbml is not None
    # check that string
    assert isinstance(sbml, string_types)


def test_getSBMLFromBiomodelsURN2():
    """ Check that model can be loaded in roadrunner.

    :return:
    """
    urn = 'urn:miriam:biomodels.db:BIOMD0000000139'

# Path: tellurium/temiriam.py
# def getSBMLFromBiomodelsURN(urn):


# Path: tellurium/tests/test_temiriam.py
from six import string_types
from tellurium import temiriam
import roadrunner

"""
Testing temiriam module
"""
from __future__ import absolute_import, print_function


def test_getSBMLFromBiomodelsURN1():
    """ Check that string is returned.

    :return:
    """
    urn = 'urn:miriam:biomodels.db:BIOMD0000000139'
    sbml = temiriam.getSBMLFromBiomodelsURN(urn)
    assert sbml is not None
    # check that string
    assert isinstance(sbml, string_types)


def test_getSBMLFromBiomodelsURN2():
    """ Check that model can be loaded in roadrunner.

    :return:
    """
    urn = 'urn:miriam:biomodels.db:BIOMD0000000139'

    sbml = temiriam.getSBMLFromBiomodelsURN(urn)