Changeset - ff9e0cbfcd7f
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-11-24 02:12:48
marcin@python-works.com
fixed tests for databases that have FKs. Thank you sqlite...
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/tests/functional/test_compare.py
Show inline comments
 
@@ -111,8 +111,9 @@ class TestCompareController(TestControll
 
            response.mustcontain("""<a href="/%s/compare/branch@%s...branch@%s#C--826e8142e6ba">file1</a>""" % (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("""<a href="/%s/compare/branch@%s...branch@%s#C--826e8142e6ba">file1</a>""" % (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):
0 comments (0 inline, 0 general)