Merge pull request #8165 from minrk/modified_gte

use >= instead of > when comparing dates
This commit is contained in:
Thomas Kluyver 2015-03-26 17:33:20 -07:00
commit 1026e819f9

View File

@ -271,7 +271,7 @@ class TestContentsManager(TestCase):
# Reload notebook and verify that last_modified incremented.
saved = cm.get(path)
self.assertGreater(saved['last_modified'], model['last_modified'])
self.assertGreaterEqual(saved['last_modified'], model['last_modified'])
# Move the notebook and verify that last_modified stayed the same.
# (The frontend fires a warning if last_modified increases on the