예제 #1
0
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
예제 #2
0
def test_package():
  FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_navigation.yaml"
  MODULE_NAME = "sbp.navigation"
  assert_package(FILEPATH, MODULE_NAME)
예제 #3
0
def test_package():
  FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_standard.yaml"
  MODULE_NAME = "sbp.standard"
  assert_package(FILEPATH, MODULE_NAME)
예제 #4
0
def test_package():
  FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_ext_events.yaml"
  MODULE_NAME = "sbp.ext_events"
  assert_package(FILEPATH, MODULE_NAME)
예제 #5
0
def test_package():
    FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_acquisition.yaml"
    MODULE_NAME = "sbp.acquisition"
    assert_package(FILEPATH, MODULE_NAME)
예제 #6
0
def test_package():
  FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_tracking.yaml"
  MODULE_NAME = "sbp.tracking"
  assert_package(FILEPATH, MODULE_NAME)
예제 #7
0
def test_package():
    FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_ext_events.yaml"
    MODULE_NAME = "sbp.ext_events"
    assert_package(FILEPATH, MODULE_NAME)
예제 #8
0
def test_package():
  FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_bootload.yaml"
  MODULE_NAME = "sbp.bootload"
  assert_package(FILEPATH, MODULE_NAME)
예제 #9
0
파일: test_piksi.py 프로젝트: renrensd/ppz
def test_package():
    FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_piksi.yaml"
    MODULE_NAME = "sbp.piksi"
    assert_package(FILEPATH, MODULE_NAME)
예제 #10
0
def test_package():
  FILEPATH = "../spec/tests/yaml/swiftnav/sbp/test_piksi.yaml"
  MODULE_NAME = "sbp.piksi"
  assert_package(FILEPATH, MODULE_NAME)