Changeset - 8e5cb0642fe1
[Not reviewed]
0 1 0
Brett Smith - 7 years ago 2017-05-17 19:29:21
brettcsmith@brettcsmith.org
CacheWriter: Update tests for previous open file change.
1 file changed with 3 insertions and 6 deletions:
0 comments (0 inline, 0 general)
tests/test_CacheWriter.py
Show inline comments
...
 
@@ -15,12 +15,9 @@ class TestCacheFile(oxrlib.cache.WriteCacheFile):
 
    def __init__(self, path, *args, **kwargs):
 
        self.path = path
 
        assert args[0].startswith('w')
 

	
 
    def open(self):
 
        last_file = StringIO()
 
        last_file.name = self.path.as_posix()
 
        type(self).last_file = last_file
 
        return self.last_file
 
        self.open_file = StringIO()
 
        self.open_file.name = self.path.as_posix()
 
        type(self).last_file = self.open_file
 

	
 

	
 
class FakeRate:
0 comments (0 inline, 0 general)