Diff of /Allura/allura/tests/model/test_repo.py [9bfbf4] .. [dcb73d]  Maximize  Restore

Switch to side-by-side view

--- a/Allura/allura/tests/model/test_repo.py
+++ b/Allura/allura/tests/model/test_repo.py
@@ -229,7 +229,7 @@
     def test_get_last_commit(self):
         obj, isnew = M.RepoObject.upsert('foo1')
         lc, isnew = obj.set_last_commit(self.ci)
-        assert lc.last_commit is obj.get_last_commit()
+        assert lc.last_commit == obj.get_last_commit()
 
     def test_get_last_commit_missing(self):
         obj, isnew = M.RepoObject.upsert('foo1')

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks