def main():
  args_parser = argparse.ArgumentParser(
      description="Tests get_version.")

  options = args_parser.parse_args()

  try:
    pypff.get_version()
  except Exception:
    return False

  return True
 def test_get_version(self):
   """Tests the get_version function."""
   version = pypff.get_version()
   self.assertIsNotNone(version)
Exemple #3
0
 def test_get_version(self):
   """Tests the get_version function."""
   version = pypff.get_version()
Exemple #4
0
 def test_get_version(self):
   """Tests the get_version function."""
   version = pypff.get_version()