Files @ 7727faad5baf
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_admin.py - annotation

Marcin Kuzminski
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
1
2
3
4
5
6
7
8
9
from rhodecode.tests import *

class TestAdminController(TestController):

    def test_index(self):
        self.log_user()
        response = self.app.get(url(controller='admin/admin', action='index'))
        assert 'Admin journal' in response.body, 'No proper title in dashboard'
        # Test response...