Esempio n. 1
0
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
Esempio n. 2
0
 def test_get_version(self):
   """Tests the get_version function."""
   version = pyfsntfs.get_version()
Esempio n. 3
0
 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)