Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/client/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/client/cache.py')
-rwxr-xr-xtests/units/client/cache.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/units/client/cache.py b/tests/units/client/cache.py
index 31dc78c..6a34200 100755
--- a/tests/units/client/cache.py
+++ b/tests/units/client/cache.py
@@ -104,8 +104,7 @@ class CacheTest(tests.Test):
cache = Cache(volume)
self.assertEqual(['impl'], [i for i in cache])
- with file('db/context/co/context/clone', 'w') as f:
- json.dump('impl', f)
+ os.symlink('../../../implementation/im/impl', 'db/context/co/context/.clone')
cache = Cache(volume)
self.assertEqual([], [i for i in cache])
@@ -132,7 +131,6 @@ class CacheTest(tests.Test):
assert volume['implementation'].exists('2')
assert volume['implementation'].exists('3')
- print '----------'
cache.ensure(2, 0)
assert not volume['implementation'].exists('1')
assert volume['implementation'].exists('2')