diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-01-29 11:55:55 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-02-12 09:26:40 -0800 |
commit | e6a5430ec138583fa1385f198c4206197730ddc0 (patch) | |
tree | e5c205ed7952182a3525897e380bc573258cce9b /tests/xts.py | |
parent | 14077ebb22f018e11b1a0bf0b2f54657bb2691cb (diff) |
xts.py: Hid populate_profile() from being imported
It's not meant for use outside the module, so mark it as such with a
leading _
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tests/xts.py')
-rw-r--r-- | tests/xts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/xts.py b/tests/xts.py index e1bdd2fbe..26729176e 100644 --- a/tests/xts.py +++ b/tests/xts.py @@ -163,7 +163,7 @@ class XTSTest(Test): # pylint: disable=too-few-public-methods self.result['images'] = self._process_log_for_images(log) -def populate_profile(): +def _populate_profile(): """ Populate the profile attribute """ # Add all tests to the profile profile = XTSProfile() # pylint: disable=redefined-outer-name @@ -202,4 +202,4 @@ if not os.path.exists(X_TEST_SUITE): print("xtest symlink not found!") sys.exit(0) -profile = populate_profile() # pylint: disable=invalid-name +profile = _populate_profile() # pylint: disable=invalid-name |