# HG changeset patch # User Marcin Kuzminski # Date 2012-11-24 01:12:48 # Node ID ff9e0cbfcd7f17fcbf82335bc5723a95cb012b45 # Parent f61adead3520d36aa58caf7e5806a3ac5332b032 fixed tests for databases that have FKs. Thank you sqlite... diff --git a/rhodecode/tests/functional/test_compare.py b/rhodecode/tests/functional/test_compare.py --- a/rhodecode/tests/functional/test_compare.py +++ b/rhodecode/tests/functional/test_compare.py @@ -111,8 +111,9 @@ class TestCompareController(TestControll response.mustcontain("""file1""" % (repo2.repo_name, rev1, rev2)) finally: + RepoModel().delete(r2_id) RepoModel().delete(r1_id) - RepoModel().delete(r2_id) + def test_compare_forks_on_branch_extra_commits_origin_has_incomming_hg(self): self.log_user() @@ -168,8 +169,8 @@ class TestCompareController(TestControll response.mustcontain("""file1""" % (repo2.repo_name, rev1, rev2)) finally: + RepoModel().delete(r2_id) RepoModel().delete(r1_id) - RepoModel().delete(r2_id) # def test_compare_remote_repos_remote_flag_off(self):