mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
13 lines
236 B
Python
13 lines
236 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)
|