Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
marcink
- Sun, 18 Dec 2011 02:41:52
Show More
rhodecode/templates/changeset/changeset_file_comment.html
0
+1
-1
rhodecode/tests/functional/test_branches.py
0
+3
-4
@@
-6,10
+6,9
b' class TestBranchesController(TestControl'
6
6
self . log_user ()
7
7
response = self . app . get ( url ( controller = 'branches' ,
8
8
action = 'index' , repo_name = HG_REPO ))
9
10
self . assertTrue ( """<a href="/ %s /changeset/27cd5cce30c96924232dffcd24178a07ffeb5dfc">default</a>""" % HG_REPO in response . body )
11
self . assertTrue ( """<a href="/ %s /changeset/97e8b885c04894463c51898e14387d80c30ed1ee">git</a>""" % HG_REPO in response . body )
12
self . assertTrue ( """<a href="/ %s /changeset/2e6a2bf9356ca56df08807f4ad86d480da72a8f4">web</a>""" % HG_REPO in response . body )
9
response . mustcontain ( """<a href="/ %s /files/27cd5cce30c96924232dffcd24178a07ffeb5dfc/">default</a>""" % HG_REPO )
10
response . mustcontain ( """<a href="/ %s /files/97e8b885c04894463c51898e14387d80c30ed1ee/">git</a>""" % HG_REPO )
11
response . mustcontain ( """<a href="/ %s /files/2e6a2bf9356ca56df08807f4ad86d480da72a8f4/">web</a>""" % HG_REPO )
13
12
14
13
15
14
rhodecode/tests/functional/test_home.py
0
+10
-10
@@
-1,22
+1,22
b''
1
1
from rhodecode.tests import *
2
2
3
3
4
class TestHomeController ( TestController ):
4
5
5
6
def test_index ( self ):
6
7
self . log_user ()
7
8
response = self . app . get ( url ( controller = 'home' , action = 'index' ))
8
9
#if global permission is set
9
self . assertTrue ( 'ADD NEW REPOSITORY' in response . body )
10
self . assertTrue( 'href="/ %s /summary"' % HG_REPO in response.body)
11
# Test response...
10
response . mustcontain ( 'ADD REPOSITORY' )
11
respon se. mustcontain ( 'href="/ %s /summary"' % HG_REPO )
12
12
13
self . assertTrue( """<img class="icon" title="Mercurial repository" """
13
respon se. mustcontain ( """<img class="icon" title="Mercurial repository" """
14
14
"""alt="Mercurial repository" src="/images/icons/hg"""
15
"""icon.png"/>""" in response.body)
16
self . assertTrue( """<img class="icon" title="public repository" """
15
"""icon.png"/>""" )
16
respon se. mustcontain ( """<img class="icon" title="public repository" """
17
17
"""alt="public repository" src="/images/icons/lock_"""
18
"""open.png"/>""" in response.body)
18
"""open.png"/>""" )
19
19
20
self . assertTrue ( """<a title="Marcin Kuzminski <marcin@python-works.com>
21
merge" class="tooltip" href="/vcs_test_hg/changeset/27cd5cce30c96924232dffcd24178a07ffeb5dfc">r173:27cd5cce30c9</a>"""
22
in response . body )
20
response . mustcontain (
21
"""<a title="Marcin Kuzminski <marcin@python-works.com>:\n
22
merge" class="tooltip" href="/vcs_test_hg/changeset/27cd5cce30c96924232dffcd24178a07ffeb5dfc">r173:27cd5cce30c9</a>""" )
rhodecode/tests/functional/test_tags.py
0
+6
-6
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages