456e942169
In order to support using starlingx as a submodule in outer projects, implementing resource_finder.py as a utility to find the full path to resources. Change-Id: I72d6d51eab218927349a02a64771959390624df5
13 lines
347 B
Python
13 lines
347 B
Python
import os
|
|
|
|
from framework.resources import resource_finder
|
|
|
|
|
|
def test_resource_finder():
|
|
"""
|
|
Verify that the resource_finder can find the full path to the resources appropriately.
|
|
"""
|
|
|
|
resource_full_path = resource_finder.get_stx_resource_path("framework/resources/resource_finder.py")
|
|
assert os.path.isfile(resource_full_path)
|