146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 | |
def test_versioned(self): |
assert self.root.check(versioned=1) |
|
|
assert self.root.join('samplefile').check(versioned=1) |
assert not self.root.join('notexisting').check(versioned=1) |
notexisting = self.root.join('hello').localpath |
try: |
notexisting.write("") |
-> assert self.root.join('hello').check(versioned=0) |
finally: |
notexisting.remove() | |