mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
16 lines
249 B
Python
16 lines
249 B
Python
from uuid import (
|
|
UUID,
|
|
uuid4,
|
|
)
|
|
|
|
from galaxy import model
|
|
|
|
|
|
def test_get_uuid():
|
|
my_uuid = uuid4()
|
|
rval = model.get_uuid(my_uuid)
|
|
assert rval == UUID(str(my_uuid))
|
|
|
|
rval = model.get_uuid()
|
|
assert isinstance(rval, UUID)
|