39 from argparse
import ArgumentParser
56 if __name__ ==
'__main__':
57 parser = ArgumentParser()
58 parser.add_argument(
'--percentage', default=50, type=int)
59 args = parser.parse_known_args()[0]
61 sys.modules[
'psutil'] = PSUtilMock
62 from diagnostic_common_diagnostics
import ram_monitor
64 PSUtilMock.RAM_PERCENTAGE = args.percentage