Files
@ bf5c2c75c976
Branch filter:
Location: kallithea/rhodecode/tests/functional/test_followers.py - annotation
bf5c2c75c976
797 B
text/x-python
fixes issue #856 file upload >1000 bytes on windows throws exception.
The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform
The returned object is a true file object on POSIX platforms.
On other platforms, it is a file-like object whose `file` attribute is the
underlying true file object. We check if such object has a file attribute
which is missing on POSIX platform
f9559677c953 f9559677c953 63e49418a4cc f9559677c953 f9559677c953 63e49418a4cc f9559677c953 f9559677c953 f9559677c953 f9559677c953 f9559677c953 f9559677c953 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc | from rhodecode.tests import *
class TestFollowersController(TestController):
def test_index_hg(self):
self.log_user()
repo_name = HG_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
response.mustcontain("""test_admin""")
response.mustcontain("""Started following""")
def test_index_git(self):
self.log_user()
repo_name = GIT_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
response.mustcontain("""test_admin""")
response.mustcontain("""Started following""")
|