Mercurial > kallithea
diff rhodecode/tests/functional/test_admin_settings.py @ 3889:b84c83b651de beta
replace equality comparision to None
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 May 2013 03:15:44 +0200 |
parents | d7488551578e |
children | ffd45b185016 |
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_admin_settings.py Wed May 22 03:14:03 2013 +0200 +++ b/rhodecode/tests/functional/test_admin_settings.py Wed May 22 03:15:44 2013 +0200 @@ -252,7 +252,7 @@ repo2 = Repository.get_by_repo_name(GIT_REPO) self.checkSessionFlash(response, 'Marked repo %s as fork of %s' % (repo.repo_name, "Nothing")) - assert repo.fork == None + assert repo.fork is None def test_set_fork_of_same_repo(self): self.log_user()