[autotest] Adjust the lab_inventory pool inventory message.
The message referred to `freon_swap`, which is now obsolete.
BUG=chromium:492264
TEST=unit tests
Change-Id: Ia5f8eaab85566872ff88ab186e4fe2540be00ed8
Reviewed-on: https://chromium-review.googlesource.com/274810
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
diff --git a/site_utils/lab_inventory.py b/site_utils/lab_inventory.py
index 476f541..d24568a 100755
--- a/site_utils/lab_inventory.py
+++ b/site_utils/lab_inventory.py
@@ -363,8 +363,8 @@
_POOL_INVENTORY_HEADER = '''\
Notice to Infrastructure deputy: If there are shortages below,
please take action to resolve them. If it's safe, you should
-balance shortages by running `balance_pool` or `freon_swap` as
-necessary. Detailed instructions can be found here:
+balance shortages by running `balance_pool`. Detailed instructions
+can be found here:
http://go/cros-manage-duts
'''
diff --git a/site_utils/lab_inventory_unittest.py b/site_utils/lab_inventory_unittest.py
index a825911..3d7a356 100755
--- a/site_utils/lab_inventory_unittest.py
+++ b/site_utils/lab_inventory_unittest.py
@@ -3,6 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import logging
import os
import unittest
@@ -883,4 +884,7 @@
if __name__ == '__main__':
+ # Some of the functions we test log messages. Prevent those
+ # messages from showing up in test output.
+ logging.getLogger().setLevel(logging.CRITICAL)
unittest.main()