Пример #1
0
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
Пример #2
0
 def test_get_version(self):
   """Tests the get_version function."""
   version = pypff.get_version()
   self.assertIsNotNone(version)
Пример #3
0
 def test_get_version(self):
   """Tests the get_version function."""
   version = pypff.get_version()
Пример #4
0
 def test_get_version(self):
   """Tests the get_version function."""
   version = pypff.get_version()