Coverage for mfutil/cli_tools/get_domainname.py: 0%
11 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-11-13 15:33 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-11-13 15:33 +0000
1import argparse
2from mfutil.net import get_domainname
4DESCRIPTION = "returns the network domain"
7def main():
8 parser = argparse.ArgumentParser(description=DESCRIPTION)
9 parser.parse_args()
10 res = get_domainname()
11 if res is not None:
12 print(res)
15if __name__ == '__main__':
16 main()