def process_files(path, filenames): """ Scans for <msg>.yaml files and verifies decoding """ test_count = 0 for filename in filenames: if filename.endswith(".yaml"): filepath = os.path.join(path, filename) assert_package(filepath, filename) test_count += 1 return test_count
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_navigation.yaml" MODULE_NAME = "sbp.navigation" assert_package(FILEPATH, MODULE_NAME)
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_standard.yaml" MODULE_NAME = "sbp.standard" assert_package(FILEPATH, MODULE_NAME)
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_ext_events.yaml" MODULE_NAME = "sbp.ext_events" assert_package(FILEPATH, MODULE_NAME)
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_acquisition.yaml" MODULE_NAME = "sbp.acquisition" assert_package(FILEPATH, MODULE_NAME)
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_tracking.yaml" MODULE_NAME = "sbp.tracking" assert_package(FILEPATH, MODULE_NAME)
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_bootload.yaml" MODULE_NAME = "sbp.bootload" assert_package(FILEPATH, MODULE_NAME)
def test_package(): FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_piksi.yaml" MODULE_NAME = "sbp.piksi" assert_package(FILEPATH, MODULE_NAME)