summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago da Silva <thiago@redhat.com>2015-02-18 15:47:43 -0500
committerThiago da Silva <thiago@redhat.com>2015-02-18 15:47:43 -0500
commitec407b4d61b15506e6ae5b3f28d3983af4f28457 (patch)
tree6db21460996acc3f0ff11a260945f5ca920eff06
parentdda911d7f139d32c1c9a4bdca8d4aaf5acf479ae (diff)
fix functional tests
tests were failing due to an issue with loremipsum package Change-Id: I9c364f48dc7fb642f5cd7a6371a53a0aa137618b Signed-off-by: Thiago da Silva <thiago@redhat.com>
-rw-r--r--test/functional/libgfapi-python-tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py
index 5af7d70..8bcbf45 100644
--- a/test/functional/libgfapi-python-tests.py
+++ b/test/functional/libgfapi-python-tests.py
@@ -16,7 +16,6 @@
import unittest
import os
import types
-import loremipsum
import errno
from glusterfs import gfapi
@@ -100,7 +99,7 @@ class FileOpsTest(unittest.TestCase):
cls.vol = None
def setUp(self):
- self.data = loremipsum.get_sentence()
+ self.data = "gluster is awesome"
self.path = self._testMethodName + ".io"
with self.vol.open(self.path, os.O_CREAT | os.O_WRONLY | os.O_EXCL,
0644) as fd:
@@ -266,7 +265,7 @@ class DirOpsTest(unittest.TestCase):
cls.testfile = None
def setUp(self):
- self.data = loremipsum.get_sentence()
+ self.data = "gluster is awesome"
self.dir_path = self._testMethodName + "_dir"
self.vol.mkdir(self.dir_path, 0755)
for x in range(0, 3):