changeset 26381:94dc10834b79

test-lock.py: copy-edit assertions about file existing Before: expected lock to exists but actually did not exists After: expected lock to exist but actually did not exist
author Siddharth Agarwal <sid0@fb.com>
date Thu, 24 Sep 2015 17:33:13 -0700
parents 56a640b0f656
children b673e89affc9
files tests/test-lock.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lock.py	Sat Sep 26 21:43:13 2015 -0700
+++ b/tests/test-lock.py	Thu Sep 24 17:33:13 2015 -0700
@@ -80,9 +80,9 @@
 
     def _toexists(self, exists):
         if exists:
-            return 'exists'
+            return 'exist'
         else:
-            return 'not exists'
+            return 'not exist'
 
 class testlock(unittest.TestCase):
     def testlock(self):