##// END OF EJS Templates
fixed tests for databases that have FKs. Thank you sqlite...
marcink -
r3026:ff9e0cbf beta
parent child Browse files
Show More
@@ -111,8 +111,9 b' class TestCompareController(TestControll'
111 response.mustcontain("""<a href="/%s/compare/branch@%s...branch@%s#C--826e8142e6ba">file1</a>""" % (repo2.repo_name, rev1, rev2))
111 response.mustcontain("""<a href="/%s/compare/branch@%s...branch@%s#C--826e8142e6ba">file1</a>""" % (repo2.repo_name, rev1, rev2))
112
112
113 finally:
113 finally:
114 RepoModel().delete(r2_id)
114 RepoModel().delete(r1_id)
115 RepoModel().delete(r1_id)
115 RepoModel().delete(r2_id)
116
116
117
117 def test_compare_forks_on_branch_extra_commits_origin_has_incomming_hg(self):
118 def test_compare_forks_on_branch_extra_commits_origin_has_incomming_hg(self):
118 self.log_user()
119 self.log_user()
@@ -168,8 +169,8 b' class TestCompareController(TestControll'
168 response.mustcontain("""<a href="/%s/compare/branch@%s...branch@%s#C--826e8142e6ba">file1</a>""" % (repo2.repo_name, rev1, rev2))
169 response.mustcontain("""<a href="/%s/compare/branch@%s...branch@%s#C--826e8142e6ba">file1</a>""" % (repo2.repo_name, rev1, rev2))
169
170
170 finally:
171 finally:
172 RepoModel().delete(r2_id)
171 RepoModel().delete(r1_id)
173 RepoModel().delete(r1_id)
172 RepoModel().delete(r2_id)
173
174
174
175
175 # def test_compare_remote_repos_remote_flag_off(self):
176 # def test_compare_remote_repos_remote_flag_off(self):
General Comments 0
You need to be logged in to leave comments. Login now