diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-10-12 12:54:14 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-10-19 15:50:18 -0700 |
commit | 47c806bafb62e086a7d862473b47fe7c827708ef (patch) | |
tree | fee375eb1d911032e94130076fd96e139209351b | |
parent | fa710aaf1e6de6e3dd3af8ac232fa6bb88cb7225 (diff) |
framework/tests/dmesg_tests.py: remove privileged_generator
This function was unused and broken, so just remove it.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r-- | framework/tests/dmesg_tests.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/framework/tests/dmesg_tests.py b/framework/tests/dmesg_tests.py index 8ef7e0eb3..aed0d9297 100644 --- a/framework/tests/dmesg_tests.py +++ b/framework/tests/dmesg_tests.py @@ -73,23 +73,6 @@ def _write_dev_kmesg(): raise SkipTest("Writing to the ringbuffer failed") -def privileged_generator(func): - """Like utils.nose_generator, but for privileged tests. - - This makes the tests yielded privlileged, which means using '-e sudo' will - exclude them - - """ - - def sudo_test_wrapper(*args, **kwargs): - for x in func(*args, **kwargs): - x = list(x) - x[0] = utils.privileged_test(utils.GeneratedTestWrapper(x[0])) - yield tuple(x) - - return sudo_test_wrapper - - class DummyJsonWriter(object): """ A very simple dummy for json writer """ def __init__(self): |