summaryrefslogtreecommitdiff
path: root/service/test/unit
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2016-01-18 11:36:42 +0100
committerFolker Bernitt <fbernitt@thoughtworks.com>2016-01-18 11:36:42 +0100
commit6f2ee1d6a7637fae8aaa34c59e507f247e2f5201 (patch)
tree435cae51d6e181d43613517b894ea2ada6076c2b /service/test/unit
parent2759ed4246d215ca4618ab97537815d262677723 (diff)
Move user folder logic up to Services
- Issue #576
Diffstat (limited to 'service/test/unit')
-rw-r--r--service/test/unit/adapter/search/test_search.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/service/test/unit/adapter/search/test_search.py b/service/test/unit/adapter/search/test_search.py
index 654524f5..198a818b 100644
--- a/service/test/unit/adapter/search/test_search.py
+++ b/service/test/unit/adapter/search/test_search.py
@@ -43,14 +43,14 @@ class LockStub(object):
class SearchEngineTest(unittest.TestCase):
def setUp(self):
self.tempdir = TempDir()
- self.agent_home = self.tempdir.name
+ self.user_home = self.tempdir.name
def tearDown(self):
self.tempdir.dissolve()
def test_headers_encoding(self):
# given
- se = SearchEngine(INDEX_KEY, 'test_namespace', self.agent_home)
+ se = SearchEngine(INDEX_KEY, self.user_home)
headers = {
'From': 'foo@bar.tld',
@@ -68,7 +68,7 @@ class SearchEngineTest(unittest.TestCase):
def test_contents_encoding_accents(self):
# given
- se = SearchEngine(INDEX_KEY, 'test_namespace', self.agent_home)
+ se = SearchEngine(INDEX_KEY, self.user_home)
headers = {
'From': 'foo@bar.tld',
@@ -93,7 +93,7 @@ class SearchEngineTest(unittest.TestCase):
def test_contents_encoding_special_characters(self):
# given
- se = SearchEngine(INDEX_KEY, 'test_namespace', self.agent_home)
+ se = SearchEngine(INDEX_KEY, self.user_home)
headers = {
'From': 'foo@bar.tld',