From b69a24d356614339e47abffe8647071100c52138 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Fri, 13 Oct 2017 00:09:28 -0400 Subject: [PATCH] examples/tests/whiteboard.py: remove chdir into datadir The whiteboard test is an example test, and, since, we're about to deprecate the datadir attribute, let's remote this call to chdir. If we believe that's necessary to stress this part of the API, let's write a (non-example) test for that. Signed-off-by: Cleber Rosa --- examples/tests/whiteboard.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/tests/whiteboard.py b/examples/tests/whiteboard.py index 9512ca60..559f20b7 100755 --- a/examples/tests/whiteboard.py +++ b/examples/tests/whiteboard.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import base64 -import os from six.moves import xrange as range @@ -21,7 +20,6 @@ class WhiteBoard(Test): """ def test(self): - os.chdir(self.datadir) # Just to stress out Avocado data_file = self.params.get('whiteboard_data_file', default='') data_size = self.params.get('whiteboard_data_size', default='10') if data_file: -- GitLab