def main(): args_parser = argparse.ArgumentParser(description="Tests get_version.") options = args_parser.parse_args() try: pyfsntfs.get_version() except Exception: return False return True
def test_get_version(self): """Tests the get_version function.""" version = pyfsntfs.get_version()
def test_get_version(self): """Tests the get_version function.""" version = pyfsntfs.get_version() self.assertIsNotNone(version)