human
Complete the below
@frappe.whitelist()
def get_test_js(test_path=None):

    ''''Get test + data for app, example: app/tests/ui/test_name.js'
    '''

Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    if (not test_path):
        test_path = frappe.db.get_single_value(u'Test    Runner', u'module_path')
    test_js = []
    (app, test_path) = test_path.split(os.path.sep, 1)
    test_path = frappe.get_app_path(app, test_path)
    def add_file(path):
        with open(path, u'r') as fileobj:
            test_js.append(dict(script=fileobj.read()))
    add_file(frappe.get_app_path(u'frappe', u'tests', u'ui', u'data', u'test_lib.js'))
    add_file(test_path)
    return test_js