Skip to content

Commit cb7ddd5

Browse files
committed
Fixed test
1 parent de6f047 commit cb7ddd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_storageiface.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def test_lock(self):
231231
self.assertIsInstance(l['expiration'], dict)
232232
self.assertIsInstance(l['expiration']['seconds'], int)
233233
with self.assertRaises(IOError) as context:
234-
self.storage.setlock(self.endpoint, self.homepath + '/testlock', self.userid, 'test app', 'lockmismatch')
234+
self.storage.setlock(self.endpoint, self.homepath + '/testlock', self.userid, 'mismatched app', 'mismatchlock')
235235
self.assertIn(EXCL_ERROR, str(context.exception))
236236
self.storage.unlock(self.endpoint, self.homepath + '/testlock', self.userid, 'test app', 'testlock')
237237
self.storage.removefile(self.endpoint, self.homepath + '/testlock', self.userid)

0 commit comments

Comments
 (0)