mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 23:59:18 +08:00
action test
This commit is contained in:
parent
434c1c6258
commit
15fc842ee5
@ -39,13 +39,16 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
def test_assetmanager() -> None:
|
def test_assetmanager() -> None:
|
||||||
"""Testing."""
|
"""Testing."""
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
print('PATH IS', sys.path)
|
||||||
|
print('CWD IS', os.getcwd())
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
|
|
||||||
manager = AssetManager(rootdir=Path(tmpdir))
|
manager = AssetManager(rootdir=Path(tmpdir))
|
||||||
wref = weakref.ref(manager)
|
wref = weakref.ref(manager)
|
||||||
manager.start()
|
manager.start()
|
||||||
|
|
||||||
gather = manager.launch_gather(packages=['a@2'],
|
gather = manager.launch_gather(packages=['a@2'],
|
||||||
flavor=AssetPackageFlavor.DESKTOP,
|
flavor=AssetPackageFlavor.DESKTOP,
|
||||||
account_token='dummytoken')
|
account_token='dummytoken')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user