##// END OF EJS Templates
fixed issue #671 commenting on pull requests sometimes used old JSON encoder and broke. This changeset replaces it's with RhodeCode json encoder to ensure all data is properly serializable
fixed issue #671 commenting on pull requests sometimes used old JSON encoder and broke. This changeset replaces it's with RhodeCode json encoder to ensure all data is properly serializable

File last commit:

r1375:f9559677 beta
r3061:7727faad beta
Show More
test_followers.py
13 lines | 457 B | text/x-python | PythonLexer
from rhodecode.tests import *
class TestFollowersController(TestController):
def test_index(self):
self.log_user()
repo_name = HG_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
self.assertTrue("""test_admin""" in response.body)
self.assertTrue("""Started following""" in response.body)