import omni.kit.test
import omni.usd

from omni.kit.usd.layers.impl.path_utils import PathUtils


class TestPathUtils(omni.kit.test.AsyncTestCase):
    def test_is_omni_path(self):
        path = "omniverse://test-server/invalid_path"
        self.assertTrue(PathUtils.is_omni_path(path))
        path = "c:/file.usd"
        self.assertFalse(PathUtils.is_omni_path(path))
